public SystemCountryCodeController() { _logic = new SystemCountryCodeLogic(new EFGenericRepository <SystemCountryCodePoco>(false)); }
public SystemCountryCodeService() { _logic = new SystemCountryCodeLogic(new EFGenericRepository <SystemCountryCodePoco>()); }
public void UpdateSystemCountryCode(SystemCountryCodePoco[] pocos) { SystemCountryCodeLogic logic = new SystemCountryCodeLogic(new EFGenericRepository <SystemCountryCodePoco>(false)); logic.Update(pocos); }
public SystemCountryCodeService() { EFGenericRepository <SystemCountryCodePoco> Repo = new EFGenericRepository <SystemCountryCodePoco>(); _logic = new SystemCountryCodeLogic(Repo); }
public List <SystemCountryCodePoco> GetAllSystemCountryCode() { SystemCountryCodeLogic logic = new SystemCountryCodeLogic(new EFGenericRepository <SystemCountryCodePoco>(false)); return(logic.GetAll()); }
public SystemCountryCodePoco GetSingleSystemCountryCode(string Id) { SystemCountryCodeLogic logic = new SystemCountryCodeLogic(new EFGenericRepository <SystemCountryCodePoco>(false)); return(logic.Get(Id)); }
public SystemCountryCodeController() { var repo = new EntityFrameworkDataAccess.EFGenericRepository <SystemCountryCodePoco>(); _logic = new SystemCountryCodeLogic(repo); }
// return single public SystemCountryCodePoco GetSingleSystemCountryCode(string Id) { var reference = new SystemCountryCodeLogic(new EFGenericRepository <SystemCountryCodePoco>(false)); return(reference.Get(Id)); }
public void AddSystemCountryCode(SystemCountryCodePoco[] items) { var logic = new SystemCountryCodeLogic(new EFGenericRepository <SystemCountryCodePoco>(false)); logic.Add(items); }
public void RemoveSystemCountryCode(SystemCountryCodePoco[] items) { var logic = new SystemCountryCodeLogic(new EFGenericRepository <SystemCountryCodePoco>(false)); logic.Delete(items); }
public SystemCountryCodeController() { var repo = new EFGenericRepository <SystemCountryCodePoco>(false); logic = new SystemCountryCodeLogic(repo); }
public SystemCountryCodeController() { var repository = new ApplicantProfileRepository <SystemCountryCodePoco>(false); logic = new SystemCountryCodeLogic(repository); }
// update record public void UpdateSystemCountryCode(SystemCountryCodePoco[] items) { var reference = new SystemCountryCodeLogic(new EFGenericRepository <SystemCountryCodePoco>(false)); reference.Update(items); }
public System() { _SystemCountryCodeLogic = new SystemCountryCodeLogic(new EFGenericRepository <SystemCountryCodePoco>(false)); _SystemLanguageCodeLogic = new SystemLanguageCodeLogic(new EFGenericRepository <SystemLanguageCodePoco>(false)); }
private void PopulateCountryDropDownList(object selectedCountry = null) { var SysCountry = new SystemCountryCodeLogic(new EFGenericRepository <SystemCountryCodePoco>()).GetList(c => c.Code.Length <= 4).OrderBy(l => l.Name); ViewBag.Country = new SelectList(SysCountry, "Code", "Name", selectedCountry); }
public SystemCountryCodeController() { EFGenericRepository <SystemCountryCodePoco> repo = new EFGenericRepository <SystemCountryCodePoco>(); _logic = new SystemCountryCodeLogic(repo); }
// retun single public List <SystemCountryCodePoco> GetAllSystemCountryCode() { var reference = new SystemCountryCodeLogic(new EFGenericRepository <SystemCountryCodePoco>(false)); return(reference.GetAll()); }