Esempio n. 1
0
 public HomeController(
     IDonorProfileService donorProfileService,
     IFoodDonationService foodDonationService)
 {
     this.donorProfileService = donorProfileService;
     this.foodDonationService = foodDonationService;
 }
Esempio n. 2
0
 public FoodDonationsController(
     IFoodDonationService foodDonationService,
     IFoodCategoryService foodCategoryService,
     IDonorProfileService donorProfileService,
     ICurrentUser currentUserProvider
     )
 {
     this.foodDonationService = foodDonationService;
     this.foodCategoryService = foodCategoryService;
     this.donorProfileService = donorProfileService;
     this.currentUserProvider = currentUserProvider;
 }
 public FoodRequestsController(
     IFoodRequestService foodRequestService,
     IFoodDonationService foodDonationService,
     IRecipientProfileService recipientProfileService,
     ICurrentUser currentUserProvider,
     IFoodRequestCommentService foodRequestCommentService)
 {
     this.foodRequestService        = foodRequestService;
     this.foodDonationService       = foodDonationService;
     this.recipientProfileService   = recipientProfileService;
     this.currentUserProvider       = currentUserProvider;
     this.foodRequestCommentService = foodRequestCommentService;
 }
Esempio n. 4
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;
 }
Esempio n. 5
0
 public FoodDonationsController(IFoodDonationService foodDonationService, IFoodCategoryService foodCategoryService)
 {
     this.foodDonationService = foodDonationService;
     this.foodCategoryService = foodCategoryService;
 }