public PostController(IPost post, ICampus campus, UserManager <ApplicationUser> manager, IApplicationUser userService, IHostingEnvironment he)
 {
     this._posts      = post;
     this._campus     = campus;
     this._hosting    = he;
     this.userManager = manager;
     this.userService = userService;
 }
Beispiel #2
0
 public HomeController(ICampus campues)
 {
     this._campus = campues;
 }
 public PostController(IPost post, ICampus campus, IHostingEnvironment he)
 {
     this._posts   = post;
     this._campus  = campus;
     this._hosting = he;
 }