You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

123456789101112131415161718192021
  1. using Luticate2.Utils.DataAccess;
  2. using Microsoft.Extensions.Options;
  3. using WebApiUtils.Dbo;
  4. namespace WebApiUtils.DataAccess
  5. {
  6. public class UploadDataAccess : LuFsFilesCrudDataAccess
  7. {
  8. private readonly AppConfigDbo _options;
  9. public UploadDataAccess(IOptions<AppConfigDbo> options)
  10. {
  11. _options = options.Value;
  12. }
  13. public override string GetBasePath()
  14. {
  15. return _options.UploadDir;
  16. }
  17. }
  18. }