Example #1
0
 public HomeController(IUserAccService userAccService,
                       IUserInfo userInfoService,
                       IVotesService votesService)
 {
     this.userAccService  = userAccService;
     this.userInfoService = userInfoService;
     this.votesService    = votesService;
 }
 public UserAccController(
     IUserAccService addService,
     IPostsService postsService,
     UserManager <ApplicationUser> userManager,
     ISearchService searchService,
     IHostingEnvironment hostingEnviroment,
     IAppUserService appUserService,
     IWebScraper webScraper)
 {
     this.addService        = addService;
     this.postsService      = postsService;
     this.userManager       = userManager;
     this.searchService     = searchService;
     this.hostingEnviroment = hostingEnviroment;
     this.appUserService    = appUserService;
     this.webScraper        = webScraper;
 }
 public DoctorsController(IUserAccService userAccService,
                          IUserInfo userInfo)
 {
     this.userAccService = userAccService;
     this.userInfo       = userInfo;
 }