public AdminController( IUserDeveloperRepository userDeveloperRepository, IUserLeaderRepository userLeaderRepository, IUserManagerRepository userManagerRepository) { this.userDeveloperRepository = userDeveloperRepository; this.userLeaderRepository = userLeaderRepository; this.userManagerRepository = userManagerRepository; }
public AccountManagerRepository(tlrmCartonContext tccontext, IMapper mapper, ITokenServicesRepository tokenServiceRepository, IUserPasswordManagerRepository userPasswordRepository, IUserManagerRepository userManagerRepository) { _tcContext = tccontext; _mapper = mapper; _tokenServiceRepository = tokenServiceRepository; _userPasswordRepository = userPasswordRepository; _userManagerRepository = userManagerRepository; }
public SchoolInfoService( ILogger <SchoolInfoService> logger, IUserManagerRepository userManagerRepository, SchoolUserPublish schoolUser ) { Logger = logger; UserManagerRepository = userManagerRepository; SchoolUser = schoolUser; }
public ProjectManagerController(IUserManagerRepository userManagerRepository, IUserTeamLeaderRepository userTeamLeaderRepository, IUserDeveloperRepository userDeveloperRepository, IManagerRepository managerRepository) { this.userManagerRepository = userManagerRepository; this.userTeamLeaderRepository = userTeamLeaderRepository; this.userDeveloperRepository = userDeveloperRepository; this.managerRepository = managerRepository; }
public ProjectManagerController( IProjectManagerRepository projectManagerRepository, IUserLeaderRepository userLeaderRepository, IUserManagerRepository userManagerRepository, IUserDeveloperRepository userDeveloperRepository) { this.projectManagerRepository = projectManagerRepository; this.userLeaderRepository = userLeaderRepository; this.userManagerRepository = userManagerRepository; this.userDeveloperRepository = userDeveloperRepository; }
public UserRoleController( IUserManagerRepository userManager , IRoleManager roleManager , IUserRoleRepository userRoleRepository , IRoleRepository roleRepository , IUserRepository userRepository) { _userManager = userManager; _roleManager = roleManager; _userRoleRepository = userRoleRepository; _roleRepository = roleRepository; _userRepository = userRepository; }
public UserContractController( IUserManagerRepository userManager , IUserContractRepository userContractRepository , IUserContractService userContractService , IUserRepository userRepository , IContractRepository contractRepository , IMapper mapper) { _userManager = userManager; _userContractRepository = userContractRepository; _userContractService = userContractService; _userRepository = userRepository; _contractRepository = contractRepository; _mapper = mapper; }
public ProjectController( IprojectRepository projectRepository, IUserManagerRepository userManagerRepository, IUserTeamLeaderRepository userTeamLeaderRepository, IUserDeveloperRepository userDeveloperRepository, IDeveloperRepository developerRepository, IManagerRepository managerRepository ) { this.projectRepository = projectRepository; this.userManagerRepository = userManagerRepository; this.userTeamLeaderRepository = userTeamLeaderRepository; this.userDeveloperRepository = userDeveloperRepository; this.developerRepository = developerRepository; this.managerRepository = managerRepository; }
public AccountApiController(IUserManagerRepository userManager) { _udb = userManager; }
public MainUserController(IUserManagerRepository userManagerRepository, IUserTeamLeaderRepository userTeamLeaderRepository, IUserDeveloperRepository userDeveloperRepository) { this.userManagerRepository = userManagerRepository; this.userTeamLeaderRepository = userTeamLeaderRepository; this.userDeveloperRepository = userDeveloperRepository; }
public MeetingsGeneralApiController(IUserManagerRepository udb, IMeetingsRepository mbd, IMeetingRoomRepository meetingRoomRepository) { _udb = udb; _mdb = mbd; _meetingRoomRepository = meetingRoomRepository; }
public UserController(IUserManagerRepository userRepository, UserService userService) { _userRepository = userRepository; _userService = userService; }
public GetUserMeetingsApiController(IUserManagerRepository udb, IMeetingsRepository mbd) { _udb = udb; _mdb = mbd; }
public UserManagerService(IUserManagerRepository userManager) { _userManager = userManager; }
public PickListController(IPickListManagerRepository pickListRepository, IUserManagerRepository workerRepository) { _pickListRepository = pickListRepository; _workerRepository = workerRepository; }
public UserService(IUserManagerRepository userRepository, IUnitOfWork <AltamiraContext> unitOfWork) { this.userRepository = userRepository; this.unitOfWork = unitOfWork; }
private void CreateRolesAndUsers(IRoleManagerRepository _roleManagerRepository, IUserManagerRepository _userManagerRepository) { if (_roleManagerRepository.RoleExists("Admin") == false) { var role = new IdentityRole("Admin"); _roleManagerRepository.CreateRole(role); var user = new ApplicationUser(); user.UserName = "******"; user.Email = "*****@*****.**"; string password = "******"; var checkUser = _userManagerRepository.CreateUser(user, password); if (checkUser.Succeeded) { _userManagerRepository.AddToRole(user.Id, role.Name); } } if (_roleManagerRepository.RoleExists("Owner") == false) { _roleManagerRepository.CreateRole(new IdentityRole("Owner")); } if (_roleManagerRepository.RoleExists("Employee") == false) { _roleManagerRepository.CreateRole(new IdentityRole("Employee")); } }
public LoginApiController(IUserManagerRepository mdb) { _udb = mdb; }
public UserManager(IUserManagerRepository userManagerRepository, ILogger <UserManager> logger) { this.logger = logger; this.userManagerRepository = userManagerRepository; }
public MoneyController(IUserManagerRepository mdb, IMoneyRepository moneyRepository) { _udb = mdb; _moneyRepository = moneyRepository; }
public UserManagerServices(IBaseRepository <UserManager> baseRepository, IUserManagerRepository userManagerRepository) : base(baseRepository) { _userManagerRepository = userManagerRepository; }
public UserManagerController(IUserManagerRepository injectedRepository) { _repository = injectedRepository; }