Exemplo n.º 1
0
 public GarmentPurchasingExpeditionController(IServiceProvider serviceProvider)
 {
     _identityService = serviceProvider.GetService <IIdentityService>();
     _service         = serviceProvider.GetService <IGarmentPurchasingExpeditionService>();
     _reportService   = serviceProvider.GetService <IGarmentPurchasingExpeditionReportService>();
     _validateService = serviceProvider.GetService <IValidateService>();
 }
 public GarmentPurchasingExpeditionController(IServiceProvider serviceProvider, IMapper mapper)
 {
     _service         = serviceProvider.GetService <IGarmentPurchasingExpeditionService>();
     _identityService = serviceProvider.GetService <IdentityService>();
     _mapper          = mapper;
     _dispositionPaymentReportService = serviceProvider.GetService <IGarmentDispositionPaymentReportService>();
 }
 public GarmentPurchasingExpeditionController(IServiceProvider serviceProvider)
 {
     _service         = serviceProvider.GetService <IGarmentPurchasingExpeditionService>();
     _identityService = serviceProvider.GetService <IdentityService>();
 }