public FileUploadModel(IConfiguration config, IWebHostEnvironment env, TransationContext context, ILogger <IndexModel> logger)
 {
     _fileSizeLimit  = config.GetValue <long>("FileSizeLimit");
     _targetFilePath = config.GetValue <string>("StoredFilesPath");
     _environment    = env;
     _context        = context;
     _logger         = logger;
 }
 public TransactionsController(TransationContext context, IMapper mapper)
 {
     _context = context;
     _mapper  = mapper;
 }