コード例 #1
0
 public ReceiptsController(IReceiptPhotoService receiptPhotoSvc,
                           UserManager <User> userManager,
                           IReceiptHelper receiptHelper,
                           IReceiptObjectDirector receiptDirector,
                           IReceiptScanTextDirector scanTextDirector,
                           IReceiptService receiptService,
                           IFileHelper fileHelper,
                           IOptions <CustomVisionSecrets> options)
 {
     _receiptPhotoSvc  = receiptPhotoSvc;
     _userManager      = userManager;
     _receiptHelper    = receiptHelper;
     _receiptDirector  = receiptDirector;
     _scanTextDirector = scanTextDirector;
     _receiptService   = receiptService;
     _fileHelper       = fileHelper;
     _cvSecrets        = options.Value;
 }
コード例 #2
0
 public ReceiptPhotosController(IReceiptPhotoService receiptPhotoService, IFileHelper fileHelper)
 {
     _receiptPhotoService = receiptPhotoService;
     _fileHelper          = fileHelper;
 }