コード例 #1
0
 public OperationService(IOptions <OperationSettings> options, ApplicationDbContext context, ICashRegistrationService cashService)
 {
     _context     = context;
     _settings    = options.Value;
     _cashService = cashService;
 }
コード例 #2
0
 public CashRegistrationsController(ApplicationDbContext context, ICashRegistrationService service)
 {
     _context = context;
     _service = service;
 }