public OmzetDailyReportController(IIdentityService identityService, IValidateService validateService, ISalesDocService service)
 {
     //this.serviceProvider = serviceProvider;
     IdentityService = identityService;
     ValidateService = validateService;
     Service         = service;
     ApiVersion      = "1.0.0";
 }
Exemplo n.º 2
0
 public SalesDocReturnService(IServiceProvider serviceProvider, PosDbContext dbContext, ISalesDocService salesDocService)
 {
     DbContext       = dbContext;
     ServiceProvider = serviceProvider;
     DbSet           = dbContext.Set <SalesDocReturn>();
     DbSetSalesDoc   = dbContext.Set <SalesDoc>();
     DbSetSales      = DbContext.Set <SalesDocDetailReturnItem>();
     salesDocFacade  = salesDocService;
     IdentityService = serviceProvider.GetService <IIdentityService>();
 }