public IdentityUserAdministrationService(UserManager <IdentityUser> userManager, IUserAdministrationService service, IMapper mapper, IEmailSender emailSender) { _userManager = userManager; _service = service; _mapper = mapper; _emailSender = emailSender; }
/// <summary> /// Initialise an instance of the <see cref="PatientRecordController"/> /// </summary> /// <param name="log"></param> /// <param name="patientRecordSvc"></param> /// <param name="userAdminSvc"></param> /// <param name="patientAdminSvc"></param> /// <param name="appointmentBookService"></param> public PatientRecordController( ILogger <PatientRecordController> log, IPatientRecordService patientRecordSvc, IUserAdministrationService userAdminSvc, IPatientAdministrationService patientAdminSvc, IAppointmentBookService appointmentBookService) { _log = log ?? throw new ArgumentNullException(nameof(log)); _patientRecordSvc = patientRecordSvc ?? throw new ArgumentNullException(nameof(patientRecordSvc)); _userAdminSvc = userAdminSvc ?? throw new ArgumentNullException(nameof(userAdminSvc)); _patientAdminSvc = patientAdminSvc ?? throw new ArgumentNullException(nameof(patientAdminSvc)); _appointmentBookService = appointmentBookService; }
public RolesController(IUserRoleAdministrationService userRoleAdministrationService, IUserAdministrationService userAdministrationService) { this.userRoleAdministrationService = userRoleAdministrationService; this.userAdministrationService = userAdministrationService; }
public ClientsController(IClientAdministrationService clientAdministrationService, IGarageAdministrationService garageAdministrationService, IUserAdministrationService userAdministrationService) { this.clientAdministrationService = clientAdministrationService; this.garageAdministrationService = garageAdministrationService; this.userAdministrationService = userAdministrationService; }
/// <summary> /// Initialize an instance of the <see cref="UserAdminController"/> class /// </summary> /// <param name="logger"></param> /// <param name="userAdminSvc"></param> public UserAdminController(ILogger <UserAdminController> logger, IUserAdministrationService userAdminSvc) { _logger = logger ?? throw new ArgumentNullException(nameof(logger)); _userAdminSvc = userAdminSvc ?? throw new ArgumentNullException(nameof(userAdminSvc)); }
public UserController(IUserRepository repository, ILogger <UserController> logger, IUserAdministrationService service) { this.repository = repository; this.logger = logger; this.service = service; }
public UsersAdministrationController(IUserAdministrationService userAdministrationService, ICacheService cache) { this.userAdministrationService = userAdministrationService; this.cache = cache; }