public AdminController(ITopicRepository repository, IIntermediateCategoryRepository repositoryInter, IMainCategoryByCitiesRepository repositoryMain) { this.repository = repository; this.repositoryInter = repositoryInter; this.repositoryMain = repositoryMain; GetUserId = () => User.Identity.GetUserId(); }
public HomeController(IMainCategoryByCitiesRepository repository, IIntermediateCategoryRepository repositoryIntermediate) { this.repository = repository; this.repositoryIntermediate = repositoryIntermediate; }
public TopicController(ITopicRepository repository, IIntermediateCategoryRepository repositoryInter, Func <string> GetUserId) { this.repository = repository; this.repositoryInter = repositoryInter; this.GetUserId = GetUserId; }
public TopicController(ITopicRepository repository, IIntermediateCategoryRepository repositoryInter) { this.repository = repository; this.repositoryInter = repositoryInter; GetUserId = () => User.Identity.GetUserId(); }