public RecipientsController(
     IRecipientProfileService recipientProfileService,
     IRecipientTypeService recipientTypeService,
     ICityService cityService)
 {
     this.recipientProfileService = recipientProfileService;
     this.recipientTypeService    = recipientTypeService;
     this.cityService             = cityService;
 }
 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;
 }
Ejemplo n.º 3
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 AccountController(IRecipientProfileService recipientProfileService)
 {
     this.recipientProfileService = recipientProfileService;
 }