public ReviewsController(UserManager <User> userManager, IReviewService reviewService, ISupplementService supplementService, IUserService userService) { this.userManager = userManager; this.reviewService = reviewService; this.supplementService = supplementService; this.userService = userService; }
public CartController(ICartSessionService cartSessionService, ICartService cartService, UserManager <CustomIdentityUser> userManager, ISupplementService supplementService) { _cartSessionService = cartSessionService; _cartService = cartService; _userManager = userManager; _supplementService = supplementService; }
public CommentsController(UserManager <User> userManager, ICommentService commentService, ISupplementService supplementService, IUserService userService) { this.userManager = userManager; this.commentService = commentService; this.supplementService = supplementService; this.userService = userService; }
public ProductsOperations(IDietService dietService, IMapper mapper, IPlanService planService, ISupplementService supplementService) { _dietService = dietService; _planService = planService; _supplementService = supplementService; _mapper = mapper; }
public OrderController(IOrderService orderService, IOrderLineService orderLineService, ICartSessionService cartSessionService, ISupplementService supplementService, IHttpContextAccessor httpContextAccessor, UserManager <CustomIdentityUser> userManager, IShippingDetailService shippingDetailService) { _orderService = orderService; _orderLineService = orderLineService; _cartSessionService = cartSessionService; _supplementService = supplementService; _httpContextAccessor = httpContextAccessor; _userManager = userManager; _shippingDetailService = shippingDetailService; }
public SupplementsController(IManagerSupplementService managerSupplementService, IManagerCategoryService managerCategoryService, IManagerSubcategoryService managerSubcategoryService, IManagerManufacturerService managerManufacturerService, ISupplementService supplementService, ICategoryService categoryService, ISubcategoryService subcategoryService, IManufacturerService manufacturerService) { this.managerSupplementService = managerSupplementService; this.managerCategoryService = managerCategoryService; this.managerSubcategoryService = managerSubcategoryService; this.managerManufacturerService = managerManufacturerService; this.supplementService = supplementService; this.categoryService = categoryService; this.subcategoryService = subcategoryService; this.manufacturerService = manufacturerService; }
public SupplementTests() { var mockMapper = new MapperConfiguration(cfg => { cfg.AddProfile(new AutoMapping()); }); _mapper = mockMapper.CreateMapper(); _dietRepository = new Mock <IDietRepository>(); _supplementRepository = new Mock <ISupplementRepository>(); _supplementService = new SupplementService(_dietRepository.Object, _supplementRepository.Object); _controller = new SupplementController(_supplementService, _mapper); }
public AdminController(IExerciseService exerciseService, IExerciseTypeService exerciseTypeService, IHostingEnvironment hostingEnvironment, ISupplementCategoryService supplementCategoryService, ISupplementService supplementService, ISupplementSubCategoryService supplementSubCategoryService, ITrainerService trainerService, IBlogPostService blogPostService, UserManager <CustomIdentityUser> userManager, CustomIdentityContext customIdentityContext, IOrderLineService orderLineService) { _exerciseService = exerciseService; _exerciseTypeService = exerciseTypeService; _hostingEnvironment = hostingEnvironment; _supplementCategoryService = supplementCategoryService; _supplementService = supplementService; _supplementSubCategoryService = supplementSubCategoryService; _trainerService = trainerService; _blogPostService = blogPostService; _userManager = userManager; _customIdentityContext = customIdentityContext; _orderLineService = orderLineService; }
public SupplementController(ISupplementService supplementService, ISupplementCategoryService supplementCategoryService) { _supplementService = supplementService; _supplementCategoryService = supplementCategoryService; }
public SupplementController(ISupplementService supplementService, IMapper mapper) { _supplementService = supplementService; _mapper = mapper; }
public SupplementsController(ISupplementService supplementService) { this.supplementService = supplementService; }
public OrdersController(UserManager <User> userManager, IOrderService orderService, ISupplementService supplementService) { this.userManager = userManager; this.orderService = orderService; this.supplementService = supplementService; }
public SupplementsController(IModeratorSupplementService moderatorSupplementService, ISupplementService supplementService) { this.moderatorSupplementService = moderatorSupplementService; this.supplementService = supplementService; }
public HomeController(ICategoryService categoryService, ISupplementService supplementService) { this.categoryService = categoryService; this.supplementService = supplementService; }
public SupplementController(ISupplementService supplementService) { _supplementService = supplementService; }