public cUnitOfWork( AppDbContext context, iFileRepository fileRepository, iVersionRepository versionRepository, iFileStatusRepository fileStatusRepository, iVersionFileRepository versionFileRepository, iUserRepository userRepository, iRoleRepository roleRepository, iUserRoleRepository userRoleRepository, iAcceptanceStatusRepository acceptanceStatusRepository, iVersionStatusRepository versionStatusRepository, iDomainRepository domainRepository ) { _Context = context; _FileRepository = fileRepository; _VersionRepository = versionRepository; _FileStatusRepository = fileStatusRepository; _VersionFileRepository = versionFileRepository; _UserRepository = userRepository; _RoleRepository = roleRepository; _UserRoleRepository = userRoleRepository; _AcceptanceStatusRepository = acceptanceStatusRepository; _VersionStatusRepository = versionStatusRepository; _DomainRepository = domainRepository; }
public UserProvider() { Context context = new Context(); _iMsgRepository = new MsgRepository(context); _iUserRepository = new UserRepository(context); }
public UsersController(iUserRepository userRepository, IMapper mapper, iPhotoService photoService) { _photoService = photoService; _mapper = mapper; _userRepository = userRepository; }
public UsersController(iUserRepository userRepo) { _userRepo = userRepo; }
public LoginController(iUserRepository _usersRepo) { this.usersRepo = _usersRepo; }