public CreditorAccountController(IIdentityService identityService, IValidateService validateService, IMapper mapper, ICreditorAccountService service) { IdentityService = identityService; ValidateService = validateService; Service = service; Mapper = mapper; ApiVersion = "1.0.0"; }
public PurchasingMemoDetailTextileService(IServiceProvider serviceProvider) { _dbContext = serviceProvider.GetService <FinanceDbContext>(); _identityService = serviceProvider.GetService <IIdentityService>(); _creditorAccountService = serviceProvider.GetService <ICreditorAccountService>(); }