public SummaryService(ISalesDataService salesDs, IExpensesDataService expDs, IStocksDataService stocksDs, IImageRepository _imgRepo, IExpensesTypeRepository expensesTypeRepository, IShopRepository shopRepository) { salesDataService = salesDs; imgRepo = _imgRepo; expensesDataService = expDs; stocksDataService = stocksDs; expTypeRepo = expensesTypeRepository; shopRepo = shopRepository; }
public UserDataRepository(ExpensesContext context, IExpensesDataService expesesDataREpository, IUserValidationService userValidationRepository) { this._context = context ?? throw new ArgumentNullException(nameof(context)); _expesesDataRepository = expesesDataREpository; _userValidationRepository = userValidationRepository; }
public ExpensesRepository(IExpensesDataService expensesDataLayerLogic, IMapper mapper) { this.expensesDataLayerLogic = expensesDataLayerLogic ?? throw new ArgumentNullException(nameof(expensesDataLayerLogic)); _mapper = mapper; }