public OwnerController(UserManager <ApplicationUser> userManager, IOwnersService ownerService, IHubContext <NotificationHub> hubContext, IDogsittersService dogsittersService) { this.userManager = userManager; this.ownerService = ownerService; this.hubContext = hubContext; this.dogsittersService = dogsittersService; }
public NotificationController(IDogsittersService dogsittersService, INotificationsService notificationsService, ICommentsService commentsService, IHubContext <NotificationHub> hubContext) { this.dogsittersService = dogsittersService; this.notificationsService = notificationsService; this.commentsService = commentsService; this.hubContext = hubContext; }
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; }