Пример #1
0
 public OwnerController(UserManager <ApplicationUser> userManager, IOwnersService ownerService, IHubContext <NotificationHub> hubContext, IDogsittersService dogsittersService)
 {
     this.userManager       = userManager;
     this.ownerService      = ownerService;
     this.hubContext        = hubContext;
     this.dogsittersService = dogsittersService;
 }
Пример #2
0
 public NotificationController(IDogsittersService dogsittersService, INotificationsService notificationsService, ICommentsService commentsService, IHubContext <NotificationHub> hubContext)
 {
     this.dogsittersService    = dogsittersService;
     this.notificationsService = notificationsService;
     this.commentsService      = commentsService;
     this.hubContext           = hubContext;
 }
Пример #3
0
 public IndexModel(
     UserManager <ApplicationUser> userManager,
     SignInManager <ApplicationUser> signInManager,
     IDogsittersService dogsitterService,
     IOwnersService ownersService,
     IConfiguration configuration)
 {
     this._userManager     = userManager;
     this._signInManager   = signInManager;
     this.dogsitterService = dogsitterService;
     this.ownersService    = ownersService;
     this.configuration    = configuration;
 }