Esempio n. 1
0
 public DessertLikesService(
     IRepository <DessertLike> dessertLikesRepository,
     IDessertsService dessertsService)
 {
     this.dessertLikesRepository = dessertLikesRepository;
     this.dessertsService        = dessertsService;
 }
 public DessertsController(
     UserManager <ApplicationUser> userManager,
     IDessertsService dessertsService,
     IDessertLikesService dessertLikesService)
 {
     this.userManager         = userManager;
     this.dessertsService     = dessertsService;
     this.dessertLikesService = dessertLikesService;
 }
 public ReviewsController(
     UserManager <ApplicationUser> userManager,
     IDessertsService dessertsService,
     IReviewsService reviewsService,
     IDessertOrdersService dessertOrdersService)
 {
     this.userManager          = userManager;
     this.dessertsService      = dessertsService;
     this.reviewsService       = reviewsService;
     this.dessertOrdersService = dessertOrdersService;
 }
Esempio n. 4
0
 public DessertsController(
     IDessertsService dessertsService,
     ICategoriesService categoriesService,
     IDessertIngredientsService dessertIngredientsService,
     IDessertTagsService dessertTagsService)
 {
     this.dessertsService           = dessertsService;
     this.categoriesService         = categoriesService;
     this.dessertIngredientsService = dessertIngredientsService;
     this.dessertTagsService        = dessertTagsService;
 }
 public OrdersService(
     IRepository <Order> ordersRepository,
     IUsersService usersService,
     IDessertsService dessertsService,
     IDessertOrdersService dessertOrdersService)
 {
     this.ordersRepository     = ordersRepository;
     this.usersService         = usersService;
     this.dessertsService      = dessertsService;
     this.dessertOrdersService = dessertOrdersService;
 }
 public ShopController(
     ICategoriesService categoriesService,
     IDessertsService dessertsService,
     IOrdersService ordersService,
     IDessertLikesService dessertLikesService,
     UserManager <ApplicationUser> userManager)
 {
     this.categoriesService   = categoriesService;
     this.dessertsService     = dessertsService;
     this.ordersService       = ordersService;
     this.dessertLikesService = dessertLikesService;
     this.userManager         = userManager;
 }
 public DessertsViewModel(IDessertsService dessertsService)
 {
     DessertsCollection = new ObservableCollection <Dessert>();
     _dessertsService   = dessertsService;
 }
Esempio n. 8
0
 public RelatedProductsViewComponent(IDessertsService dessertsService)
 {
     this.dessertsService = dessertsService;
 }