Example #1
0
 public UserService(IUserRepository userRepository, ICategoryService categoryService, ICategoryUserService categoryUserService)
 {
     _userRepository      = userRepository;
     _categoryService     = categoryService;
     _categoryUserService = categoryUserService;
 }
Example #2
0
 public CategoriesController(DinExApiContext context, ICategoryService categoryService, ICategoryUserService categoryUserService)
 {
     _context             = context;
     _categoryService     = categoryService;
     _categoryUserService = categoryUserService;
 }
 public CategoryService(ICategoryRepository categoryRepository, ICategoryUserService categoryUserService)
 {
     _categoryRepository  = categoryRepository;
     _categoryUserService = categoryUserService;
 }