Exemplo n.º 1
0
 public HRMgmtController(
     IDropDownMasterRepository _repoDDL
     , ITeamMemberRepository _repoTeamMember
     , IWebUserRepository _repoWebUser
     , ILocationRepository _repoLocation
     , IClientLoginRepository _repoLogin
     , ITeamDepartmentRepository _repoTeamDepartment
     )
 {
     repoDDL            = _repoDDL;
     repoTeamMember     = _repoTeamMember;
     repoWebUser        = _repoWebUser;
     repoLocation       = _repoLocation;
     repoLogin          = _repoLogin;
     repoTeamDepartment = _repoTeamDepartment;
 }
Exemplo n.º 2
0
        protected void Page_Load(object sender, EventArgs e)
        {
            string path = Server.MapPath("/");
            string tobesearched = "WebUserRepo\\";
            rootPath = path.Substring(0,path.IndexOf(tobesearched));
            componenentsPath = rootPath + "\\ComponentsToInspect\\";
            string dbPath = rootPath + "\\BackEndLibraries\\Repository.mdb";
            webRepo = new Components(dbPath);

            Label1.Text = rootPath;
            compList = webRepo.GetComponents(null);
            if (count==0) {
                initializeTable();
            }
        }
 public WebUserRoleProvider()
 {
     _repository = DependencyResolver.Current.GetService<IWebUserRepository>();
 }
 public WebUserMembershipProvider()
 {
     _userRepository = DependencyResolver.Current.GetService<IWebUserRepository>();
 }
Exemplo n.º 5
0
 public LoginBusinessImpl(IWebUserRepository repository, SigningConfigurations signingConfigurations, TokenConfiguration tokenConfiguration)
 {
     _repository            = repository;
     _signingConfigurations = signingConfigurations;
     _tokenConfigurations   = tokenConfiguration;
 }
Exemplo n.º 6
0
 public WebUserService(IWebUserRepository webuser)
 {
     _webuser = webuser;
 }
Exemplo n.º 7
0
 public AdminController(IWebUserRepository webUserRepository, IUserManager userManager)
 {
     _webUserRepository = webUserRepository;
     _userManager       = userManager;
 }
Exemplo n.º 8
0
 public WebUserService(IWebUserRepository repository, ILogService logService)
 {
     _repository = repository;
     _logService = logService;
 }
Exemplo n.º 9
0
 public WebUserService()
 {
     _repository = new SqlWebUserRepository();
     _logService = new LogService();
 }
Exemplo n.º 10
0
        //endtest

        public WebUsersController(StoreWebsiteContext context, IProductRepository products, IWebUserRepository users)
        {
            _context  = context;
            _products = products;
            _users    = users;
        }