Beispiel #1
0
 public FoodDonationsController(
     IFoodDonationService foodDonationService,
     IFoodCategoryService foodCategoryService,
     IDonorProfileService donorProfileService,
     ICurrentUser currentUserProvider
     )
 {
     this.foodDonationService = foodDonationService;
     this.foodCategoryService = foodCategoryService;
     this.donorProfileService = donorProfileService;
     this.currentUserProvider = currentUserProvider;
 }
Beispiel #2
0
 public FoodDonationsController(
     IFoodDonationService foodDonationService,
     IFoodRequestService foodRequestService,
     IFoodCategoryService foodCategoryService,
     IRecipientProfileService recipientProfileService,
     ICurrentUser currentUserProvider)
 {
     this.foodDonationService     = foodDonationService;
     this.foodRequestService      = foodRequestService;
     this.foodCategoryService     = foodCategoryService;
     this.recipientProfileService = recipientProfileService;
     this.currentUserProvider     = currentUserProvider;
 }
 public ProfileController(
     IRecipientProfileService recipientProfileService,
     ICityService cityService,
     IRecipientTypeService recipientTypeService,
     IFoodCategoryService foodCategoryService,
     ICurrentUser currentUserProvider)
 {
     this.recipientProfileService = recipientProfileService;
     this.cityService             = cityService;
     this.recipientTypeService    = recipientTypeService;
     this.foodCategoryService     = foodCategoryService;
     this.currentUserProvider     = currentUserProvider;
 }
 public FoodCategoriesController(IFoodCategoryService service,
                                 IMapper mapper)
 {
     _service = service;
     _mapper  = mapper;
 }
Beispiel #5
0
 public FoodCategoryController(IAuthorizationService authorizationService,
                               IFoodCategoryService foodCategoryService)
 {
     _authorizationService = authorizationService;
     _foodCategoryService  = foodCategoryService;
 }
Beispiel #6
0
 public FoodCategoryController(IFoodCategoryService foodCategoryService)
 {
     _foodCategorySerive = foodCategoryService;
 }
Beispiel #7
0
 public FoodDonationsController(IFoodDonationService foodDonationService, IFoodCategoryService foodCategoryService)
 {
     this.foodDonationService = foodDonationService;
     this.foodCategoryService = foodCategoryService;
 }
 public FoodCategoryController(IFoodCategoryService foodCategoryService)
 {
     _foodCategoryService = foodCategoryService;
 }
 public FoodBrandController(IFoodCategoryService foodBrandService) => this.foodBrandService = foodBrandService;
 public CategoriesController(IFoodCategoryService foodCategoryService)
 {
     this.foodCategoryService = foodCategoryService;
 }