Пример #1
0
        public List <SecurityRolePoco> GetAllSecurityRole()
        {
            EFGenericRepository <SecurityRolePoco> repo = new EFGenericRepository <SecurityRolePoco>(false);
            SecurityRoleLogic logic = new SecurityRoleLogic(repo);

            return(logic.GetAll());
        }
Пример #2
0
        public void AddSecurityRole(SecurityRolePoco[] items)
        {
            var logic = new SecurityRoleLogic
                            (new EFGenericRepository <SecurityRolePoco>());

            logic.Add(items);
        }
Пример #3
0
        public void RemoveSecurityRole(SecurityRolePoco[] pocos)
        {
            EFGenericRepository <SecurityRolePoco> repo = new EFGenericRepository <SecurityRolePoco>(false);
            SecurityRoleLogic logic = new SecurityRoleLogic(repo);

            logic.Delete(pocos);
        }
Пример #4
0
        public void AddSecurityRole(SecurityRolePoco[] item)
        {
            EFGenericRepository <SecurityRolePoco> securityrolerepo = new EFGenericRepository <SecurityRolePoco>(false);
            SecurityRoleLogic _securityrolelogic = new SecurityRoleLogic(securityrolerepo);

            _securityrolelogic.Add(item);
        }
Пример #5
0
 public Security()
 {
     _SecurityLoginLogic      = new SecurityLoginLogic(new EFGenericRepository <SecurityLoginPoco>(false));
     _SecurityLoginsLogLogic  = new SecurityLoginsLogLogic(new EFGenericRepository <SecurityLoginsLogPoco>(false));
     _SecurityLoginsRoleLogic = new SecurityLoginsRoleLogic(new EFGenericRepository <SecurityLoginsRolePoco>(false));
     _SecurityRoleLogic       = new SecurityRoleLogic(new EFGenericRepository <SecurityRolePoco>(false));
 }
Пример #6
0
        public SecurityRolePoco GetSingleSecurityRole(string id)
        {
            EFGenericRepository <SecurityRolePoco> securityrolerepo = new EFGenericRepository <SecurityRolePoco>(false);
            SecurityRoleLogic _securityrolelogic = new SecurityRoleLogic(securityrolerepo);

            return(_securityrolelogic.Get(Guid.Parse(id)));
        }
Пример #7
0
        public void UpdateSecurityRole(SecurityRolePoco[] items)
        {
            EFGenericRepository <SecurityRolePoco> securityrolerepo = new EFGenericRepository <SecurityRolePoco>(false);
            SecurityRoleLogic _securityrolelogic = new SecurityRoleLogic(securityrolerepo);

            _securityrolelogic.Update(items);
        }
Пример #8
0
        public List <SecurityRolePoco> GetAllSecurityRole()
        {
            ApplicantProfileRepository <SecurityRolePoco> repo = new ApplicantProfileRepository <SecurityRolePoco>(false);
            SecurityRoleLogic log = new SecurityRoleLogic(repo);

            return(log.GetAll());
        }
Пример #9
0
        public void AddSecurityRole(SecurityRolePoco[] pocos)
        {
            ApplicantProfileRepository <SecurityRolePoco> repo = new ApplicantProfileRepository <SecurityRolePoco>(false);
            SecurityRoleLogic log = new SecurityRoleLogic(repo);

            log.Add(pocos);
        }
Пример #10
0
        public SecurityRolePoco GetSingleSecurityRole(string Id)
        {
            ApplicantProfileRepository <SecurityRolePoco> repo = new ApplicantProfileRepository <SecurityRolePoco>(false);
            SecurityRoleLogic log = new SecurityRoleLogic(repo);

            return(log.Get(Guid.Parse(Id)));
        }
Пример #11
0
        public void AddSecurityRole(SecurityRolePoco[] pocos)
        {
            EFGenericRepository <SecurityRolePoco> repo = new EFGenericRepository <SecurityRolePoco>(false);
            SecurityRoleLogic logic = new SecurityRoleLogic(repo);

            logic.Add(pocos);
        }
Пример #12
0
        public SecurityRolePoco GetSingleSecurityRole(string Id)
        {
            EFGenericRepository <SecurityRolePoco> repo = new EFGenericRepository <SecurityRolePoco>(false);
            SecurityRoleLogic logic = new SecurityRoleLogic(repo);

            return(logic.Get(Guid.Parse(Id)));
        }
Пример #13
0
        public SecurityRoleController()
        {
            EFGenericRepository <SecurityRolePoco> repo =
                new EFGenericRepository <SecurityRolePoco>();

            _logic = new SecurityRoleLogic(repo);
        }
Пример #14
0
        public void UpdateSecurityRole(SecurityRolePoco[] pocos)
        {
            var repo  = new EFGenericRepository <SecurityRolePoco>(false);
            var logic = new SecurityRoleLogic(repo);

            logic.Update(pocos);
        }
Пример #15
0
        public SecurityRolePoco GetSingleSecurityRole(string Id)
        {
            Guid id    = new Guid(Id);
            var  logic = new SecurityRoleLogic(new EFGenericRepository <SecurityRolePoco>(false));

            return(logic.Get(id));
        }
Пример #16
0
        public void AddSecurityRole(SecurityRolePoco[] items)
        {
            EFGenericRepository <SecurityRolePoco> SecurityRoleRepo = new EFGenericRepository <SecurityRolePoco>(false);
            var Logic = new SecurityRoleLogic(SecurityRoleRepo);

            Logic.Add(items);
        }
Пример #17
0
        public List <SecurityRolePoco> GetAllSecurityRole()
        {
            EFGenericRepository <SecurityRolePoco> SecurityRoleRepo = new EFGenericRepository <SecurityRolePoco>(false);
            var Logic = new SecurityRoleLogic(SecurityRoleRepo);

            return(Logic.GetAll());
        }
Пример #18
0
        public void RemoveSecurityRole(SecurityRolePoco[] items)
        {
            EFGenericRepository <SecurityRolePoco> SecurityRoleRepo = new EFGenericRepository <SecurityRolePoco>(false);
            var Logic = new SecurityRoleLogic(SecurityRoleRepo);

            Logic.Delete(items);
        }
Пример #19
0
        public List <SecurityRolePoco> GetAllSecurityRole()
        {
            var logic = new SecurityRoleLogic
                            (new EFGenericRepository <SecurityRolePoco>(false));

            return(logic.GetAll());
        }
Пример #20
0
        public void UpdateSecurityRole(SecurityRolePoco[] items)
        {
            var logic = new SecurityRoleLogic
                            (new EFGenericRepository <SecurityRolePoco>(false));

            logic.Update(items);
        }
Пример #21
0
        public void RemoveSecurityRole(SecurityRolePoco[] items)
        {
            var logic = new SecurityRoleLogic
                            (new EFGenericRepository <SecurityRolePoco>());

            logic.Delete(items);
        }
Пример #22
0
        public SecurityRolePoco GetSingleSecurityRole(string Id)
        {
            var logic = new SecurityRoleLogic(new EFGenericRepository <SecurityRolePoco>(false));
            SecurityRolePoco securityRolePoco = new SecurityRolePoco();

            securityRolePoco = logic.Get(Guid.Parse(Id));
            return(securityRolePoco);
        }
Пример #23
0
        public List <SecurityRolePoco> GetAllSecurityRole()
        {
            List <SecurityRolePoco> securityRolePoco = new List <SecurityRolePoco>();
            var logic = new SecurityRoleLogic(new EFGenericRepository <SecurityRolePoco>(false));

            securityRolePoco = logic.GetAll();
            return(securityRolePoco);
        }
        public SecurityLogInController()
        {
            var loginRepo     = new EFGenericRepository <SecurityLoginPoco>(false);
            var roleRepo      = new EFGenericRepository <SecurityRolePoco>(false);
            var loginRoleRepo = new EFGenericRepository <SecurityLoginsRolePoco>(false);

            _loginLogic     = new SecurityLoginLogic(loginRepo);
            _roleLogic      = new SecurityRoleLogic(roleRepo);
            _loginRoleLogic = new SecurityLoginsRoleLogic(loginRoleRepo);
        }
Пример #25
0
        public CompanySignUpController()
        {
            var loginRepo          = new EFGenericRepository <SecurityLoginPoco>(false);
            var roleRepo           = new EFGenericRepository <SecurityRolePoco>(false);
            var loginRoleRepo      = new EFGenericRepository <SecurityLoginsRolePoco>(false);
            var companyProfileRepo = new EFGenericRepository <CompanyProfilePoco>(false);

            _loginLogic          = new SecurityLoginLogic(loginRepo);
            _roleLogic           = new SecurityRoleLogic(roleRepo);
            _loginRoleLogic      = new SecurityLoginsRoleLogic(loginRoleRepo);
            _companyProfileLogic = new CompanyProfileLogic(companyProfileRepo);
        }
Пример #26
0
        public Security()
        {
            EFGenericRepository <SecurityLoginPoco> repo = new EFGenericRepository <SecurityLoginPoco>(false);

            _logic = new SecurityLoginLogic(repo);

            EFGenericRepository <SecurityLoginsLogPoco> repo1 = new EFGenericRepository <SecurityLoginsLogPoco>(false);

            _logicAJL = new SecurityLoginsLogLogic(repo1);

            EFGenericRepository <SecurityLoginsRolePoco> repo2 = new EFGenericRepository <SecurityLoginsRolePoco>(false);

            _logicLoginRole = new SecurityLoginsRoleLogic(repo2);

            EFGenericRepository <SecurityRolePoco> repo3 = new EFGenericRepository <SecurityRolePoco>(false);

            _logicSecurityRole = new SecurityRoleLogic(repo3);
        }
Пример #27
0
        public Security()
        {
            //SecurityLoginRepository Secrepo = new SecurityLoginRepository();
            EFGenericRepository <SecurityLoginPoco> Secrepo = new EFGenericRepository <SecurityLoginPoco>(false);

            _securityLogin = new SecurityLoginLogic(Secrepo);

            //SecurityLoginsLogRepository SecLoginrepo = new SecurityLoginsLogRepository();
            EFGenericRepository <SecurityLoginsLogPoco> SecLoginrepo = new EFGenericRepository <SecurityLoginsLogPoco>(false);

            _securityLoginsLog = new SecurityLoginsLogLogic(SecLoginrepo);

            //SecurityLoginsRoleRepository SecRolerepo = new SecurityLoginsRoleRepository();
            EFGenericRepository <SecurityLoginsRolePoco> SecRolerepo = new EFGenericRepository <SecurityLoginsRolePoco>(false);

            _securityLoginsRole = new SecurityLoginsRoleLogic(SecRolerepo);

            //SecurityRoleRepository Rolerepo = new SecurityRoleRepository();
            EFGenericRepository <SecurityRolePoco> Rolerepo = new EFGenericRepository <SecurityRolePoco>(false);

            _securityRole = new SecurityRoleLogic(Rolerepo);
        }
Пример #28
0
        public Security()
        {
            EFGenericRepository <SecurityLoginPoco> slRepo =
                new EFGenericRepository <SecurityLoginPoco>(false);

            _slLogic = new SecurityLoginLogic(slRepo);

            EFGenericRepository <SecurityLoginsLogPoco> sllRepo =
                new EFGenericRepository <SecurityLoginsLogPoco>(false);

            _sllLogic = new SecurityLoginsLogLogic(sllRepo);


            EFGenericRepository <SecurityLoginsRolePoco> slrRepo =
                new EFGenericRepository <SecurityLoginsRolePoco>(false);

            _slrLogic = new SecurityLoginsRoleLogic(slrRepo);


            EFGenericRepository <SecurityRolePoco> srRepo =
                new EFGenericRepository <SecurityRolePoco>(false);

            _srLogic = new SecurityRoleLogic(srRepo);
        }
 public SecurityRoleService()
 {
     _logic = new SecurityRoleLogic(new EFGenericRepository <SecurityRolePoco>());
 }
Пример #30
0
        public SecurityRoleController()
        {
            var repository = new EFGenericRepository <SecurityRolePoco>(false);

            _logic = new SecurityRoleLogic(repository);
        }