예제 #1
0
 public AccountController(
     SignInManager <IdentityUser> signInManager,
     UserManager <IdentityUser> userManager,
     IHairdresserRepository hairdresserRepository,
     IConfiguration config)
 {
     _signInManager         = signInManager;
     _userManager           = userManager;
     _hairdresserRepository = hairdresserRepository;
     _config = config;
 }
예제 #2
0
 public RegistrationsController(IRegistrationRepository repository, IClientsRespository clientsRespository,
                                ISalonRepository salonRepository, IHairdresserRepository hairdresserRepository,
                                IMapper mapper, LinkGenerator linkGenerator)
 {
     this._repository            = repository;
     this._clientsRespository    = clientsRespository;
     this._salonRepository       = salonRepository;
     this._hairdresserRepository = hairdresserRepository;
     this._mapper        = mapper;
     this._linkGenerator = linkGenerator;
 }
예제 #3
0
 public ManageController(IHairdresserRepository repo)
 {
     this._hairdresserRepository = repo;
 }
 public HairdressersController(IHairdresserRepository repository, ISalonRepository salonRepository, IMapper mapper)
 {
     this._repository      = repository;
     this._salonRepository = salonRepository;
     this._mapper          = mapper;
 }
예제 #5
0
 public HairdressersController(IHairdresserRepository repo, IHubContext <AppointmentHub> hub)
 {
     _hairdresserRepository = repo;
     _hub = hub;
 }