Example #1
0
 public HomeController(
     IDonorProfileService donorProfileService,
     IFoodDonationService foodDonationService)
 {
     this.donorProfileService = donorProfileService;
     this.foodDonationService = foodDonationService;
 }
Example #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;
 }
Example #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;
 }
Example #5
0
 public FoodDonationsController(IFoodDonationService foodDonationService, IFoodCategoryService foodCategoryService)
 {
     this.foodDonationService = foodDonationService;
     this.foodCategoryService = foodCategoryService;
 }