示例#1
0
 public MealsController(
     IMealsService mealsService,
     ICloudinaryService cloudinaryService)
 {
     this.mealsService      = mealsService;
     this.cloudinaryService = cloudinaryService;
 }
示例#2
0
 public MealsController(
     ICurrentUserService currentUser,
     IBus publisher,
     IMealsService mealsService)
 {
     this.currentUser  = currentUser;
     this.publisher    = publisher;
     this.mealsService = mealsService;
 }
示例#3
0
 public CaloriesController(
     IWorkoutService workoutsService,
     IMealsService mealsService,
     IMapper mapper)
 {
     this.workoutsService = workoutsService;
     this.mealsService    = mealsService;
     this.mapper          = mapper;
 }
示例#4
0
 public DashboardController(
     IUsersService usersService,
     IFacilitiesService facilitiesService,
     IExercisesService exercisesService,
     IMealsService mealsService)
 {
     this.usersService      = usersService;
     this.facilitiesService = facilitiesService;
     this.exercisesService  = exercisesService;
     this.mealsService      = mealsService;
 }
 public TrackingController(
     IIdentityService identityService,
     IRecipesService recipesService,
     IMapper mapper,
     IWorkoutsService workoutsService,
     ICurrentUserService currentUser,
     IMealsService mealsService)
 {
     this.identityService = identityService;
     this.recipesService  = recipesService;
     this.mapper          = mapper;
     this.workoutsService = workoutsService;
     this.currentUser     = currentUser;
     this.mealsService    = mealsService;
 }
示例#6
0
 public DaysService(
     HealthBlogDbContext dbContext,
     IMapper mapper,
     UserManager <User> userManager,
     IUserProgramsService userProgramsService,
     ITrainersProgramsService trainersProgramsService,
     ITrainingsService trainingsService,
     IMealsService mealsService)
     : base(dbContext, mapper, userManager)
 {
     this.userProgramsService     = userProgramsService;
     this.trainersProgramsService = trainersProgramsService;
     this.trainingsService        = trainingsService;
     this.mealsService            = mealsService;
 }
示例#7
0
 public HomeController(
     IIdentityService identityService,
     IRecipesService recipesService,
     IWorkoutsService workoutsService,
     ICurrentUserService currentUser,
     IMapper mapper,
     IMealsService mealsService,
     ICaloriesService caloriesService,
     IUserHistoryService userHistory)
 {
     this.identityService = identityService;
     this.recipesService  = recipesService;
     this.workoutsService = workoutsService;
     this.currentUser     = currentUser;
     this.mapper          = mapper;
     this.mealsService    = mealsService;
     this.caloriesService = caloriesService;
     this.userHistory     = userHistory;
 }
示例#8
0
 public MenusModel(IMealsService mealsService, IMapper mapper)
 {
     this.mealsService = mealsService;
     this.mapper       = mapper;
 }
示例#9
0
 public BaseMealsModel(IMealsService mealsService)
 {
     this.MealsService = mealsService;
 }
示例#10
0
 public DetailsModel(
     IMealsService mealsService)
     : base(mealsService)
 {
 }
示例#11
0
 public CartService(ICollection <CartItem> cart, IMealsService mealsService)
 {
     this.cart         = cart;
     this.mealsService = mealsService;
     _base             = this as IRepository <CartItem>;
 }
 public MealsController(IMealsService mealsService)
 {
     _mealsService = mealsService;
 }
 public MealMemberValueResolver(IMealsService mealsService)
 {
     this.mealsService = mealsService;
 }
示例#14
0
 public MealsController(IMealsService meals,
                        IImagesService images)
 {
     this.meals  = meals;
     this.images = images;
 }
示例#15
0
 public MealsController(IMealsService mealsService)
 {
     _mealsService = mealsService;
 }
示例#16
0
 public UnitPriceMemberValueResolver(IMealsService mealsService)
 {
     this.mealsService = mealsService;
 }
示例#17
0
 public MealsCreateModel(
     IMealsService mealsService)
     : base(mealsService)
 {
 }
示例#18
0
 public AggregatorController(IMealsService mealsService)
 {
     this.mealsService = mealsService;
 }
示例#19
0
 public MenuController(IMealsService meals)
 {
     this.meals = meals;
 }
 public PriceMemberValueResilver(IMealsService mealsService)
 {
     this.mealsService = mealsService;
 }
 public MealsApiController()
 {
     _mealsService = new MealsService();
 }
示例#22
0
 public MealsIndexModel(
     IMealsService mealsService)
     : base(mealsService)
 {
 }
示例#23
0
 public IndexModel(IMapper mapper, IMealsService mealsService)
 {
     this.mapper       = mapper;
     this.mealsService = mealsService;
 }
	    public MenusController(IMenusService menusService, IMealsService mealsService)
	    {
		    _menusService = menusService;
		    _mealsService = mealsService;
	    }
示例#25
0
 public CreateModel(IMealsService mealsService, IStockService stockService, IMapper mapper)
 {
     this.mealsService = mealsService;
     this.stockService = stockService;
     this.mapper       = mapper;
 }
示例#26
0
 public void Init()
 {
     this.service = new MealsService(Repositories.GetMealsRepository(), null);
 }
示例#27
0
 public CartController(IMealsService mealsService, ICartService cartService, IDiscountProvider discountProvider)
 {
     this.mealsService     = mealsService;
     this.cartService      = cartService;
     this.discountProvider = discountProvider;
 }
示例#28
0
 public MealsController(IMealsService mealsService, IJwtTokenSettings jwtTokenSettings)
 {
     _mealsService     = mealsService;
     _jwtTokenSettings = jwtTokenSettings;
 }