public CreatinesController(IProductsService productsService, ICreatinesService creatinesService) { this.productsService = productsService; this.creatinesService = creatinesService; }
private void Initialize() { this.context = KeepFitDbContextInMemoryFactory.Initialize(); this.mapper = AutoMapperFactory.Initialize(); this.service = new CreatinesService(context, mapper); }