public List <SecurityRolePoco> GetAllSecurityRole() { EFGenericRepository <SecurityRolePoco> repo = new EFGenericRepository <SecurityRolePoco>(false); SecurityRoleLogic logic = new SecurityRoleLogic(repo); return(logic.GetAll()); }
public void AddSecurityRole(SecurityRolePoco[] items) { var logic = new SecurityRoleLogic (new EFGenericRepository <SecurityRolePoco>()); logic.Add(items); }
public void RemoveSecurityRole(SecurityRolePoco[] pocos) { EFGenericRepository <SecurityRolePoco> repo = new EFGenericRepository <SecurityRolePoco>(false); SecurityRoleLogic logic = new SecurityRoleLogic(repo); logic.Delete(pocos); }
public void AddSecurityRole(SecurityRolePoco[] item) { EFGenericRepository <SecurityRolePoco> securityrolerepo = new EFGenericRepository <SecurityRolePoco>(false); SecurityRoleLogic _securityrolelogic = new SecurityRoleLogic(securityrolerepo); _securityrolelogic.Add(item); }
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)); }
public SecurityRolePoco GetSingleSecurityRole(string id) { EFGenericRepository <SecurityRolePoco> securityrolerepo = new EFGenericRepository <SecurityRolePoco>(false); SecurityRoleLogic _securityrolelogic = new SecurityRoleLogic(securityrolerepo); return(_securityrolelogic.Get(Guid.Parse(id))); }
public void UpdateSecurityRole(SecurityRolePoco[] items) { EFGenericRepository <SecurityRolePoco> securityrolerepo = new EFGenericRepository <SecurityRolePoco>(false); SecurityRoleLogic _securityrolelogic = new SecurityRoleLogic(securityrolerepo); _securityrolelogic.Update(items); }
public List <SecurityRolePoco> GetAllSecurityRole() { ApplicantProfileRepository <SecurityRolePoco> repo = new ApplicantProfileRepository <SecurityRolePoco>(false); SecurityRoleLogic log = new SecurityRoleLogic(repo); return(log.GetAll()); }
public void AddSecurityRole(SecurityRolePoco[] pocos) { ApplicantProfileRepository <SecurityRolePoco> repo = new ApplicantProfileRepository <SecurityRolePoco>(false); SecurityRoleLogic log = new SecurityRoleLogic(repo); log.Add(pocos); }
public SecurityRolePoco GetSingleSecurityRole(string Id) { ApplicantProfileRepository <SecurityRolePoco> repo = new ApplicantProfileRepository <SecurityRolePoco>(false); SecurityRoleLogic log = new SecurityRoleLogic(repo); return(log.Get(Guid.Parse(Id))); }
public void AddSecurityRole(SecurityRolePoco[] pocos) { EFGenericRepository <SecurityRolePoco> repo = new EFGenericRepository <SecurityRolePoco>(false); SecurityRoleLogic logic = new SecurityRoleLogic(repo); logic.Add(pocos); }
public SecurityRolePoco GetSingleSecurityRole(string Id) { EFGenericRepository <SecurityRolePoco> repo = new EFGenericRepository <SecurityRolePoco>(false); SecurityRoleLogic logic = new SecurityRoleLogic(repo); return(logic.Get(Guid.Parse(Id))); }
public SecurityRoleController() { EFGenericRepository <SecurityRolePoco> repo = new EFGenericRepository <SecurityRolePoco>(); _logic = new SecurityRoleLogic(repo); }
public void UpdateSecurityRole(SecurityRolePoco[] pocos) { var repo = new EFGenericRepository <SecurityRolePoco>(false); var logic = new SecurityRoleLogic(repo); logic.Update(pocos); }
public SecurityRolePoco GetSingleSecurityRole(string Id) { Guid id = new Guid(Id); var logic = new SecurityRoleLogic(new EFGenericRepository <SecurityRolePoco>(false)); return(logic.Get(id)); }
public void AddSecurityRole(SecurityRolePoco[] items) { EFGenericRepository <SecurityRolePoco> SecurityRoleRepo = new EFGenericRepository <SecurityRolePoco>(false); var Logic = new SecurityRoleLogic(SecurityRoleRepo); Logic.Add(items); }
public List <SecurityRolePoco> GetAllSecurityRole() { EFGenericRepository <SecurityRolePoco> SecurityRoleRepo = new EFGenericRepository <SecurityRolePoco>(false); var Logic = new SecurityRoleLogic(SecurityRoleRepo); return(Logic.GetAll()); }
public void RemoveSecurityRole(SecurityRolePoco[] items) { EFGenericRepository <SecurityRolePoco> SecurityRoleRepo = new EFGenericRepository <SecurityRolePoco>(false); var Logic = new SecurityRoleLogic(SecurityRoleRepo); Logic.Delete(items); }
public List <SecurityRolePoco> GetAllSecurityRole() { var logic = new SecurityRoleLogic (new EFGenericRepository <SecurityRolePoco>(false)); return(logic.GetAll()); }
public void UpdateSecurityRole(SecurityRolePoco[] items) { var logic = new SecurityRoleLogic (new EFGenericRepository <SecurityRolePoco>(false)); logic.Update(items); }
public void RemoveSecurityRole(SecurityRolePoco[] items) { var logic = new SecurityRoleLogic (new EFGenericRepository <SecurityRolePoco>()); logic.Delete(items); }
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); }
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); }
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); }
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); }
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); }
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>()); }
public SecurityRoleController() { var repository = new EFGenericRepository <SecurityRolePoco>(false); _logic = new SecurityRoleLogic(repository); }