public SystemCountryCodeController()
 {
     _logic = new SystemCountryCodeLogic(new EFGenericRepository <SystemCountryCodePoco>(false));
 }
 public SystemCountryCodeService()
 {
     _logic = new SystemCountryCodeLogic(new EFGenericRepository <SystemCountryCodePoco>());
 }
Ejemplo n.º 3
0
        public void UpdateSystemCountryCode(SystemCountryCodePoco[] pocos)
        {
            SystemCountryCodeLogic logic = new SystemCountryCodeLogic(new EFGenericRepository <SystemCountryCodePoco>(false));

            logic.Update(pocos);
        }
Ejemplo n.º 4
0
        public SystemCountryCodeService()
        {
            EFGenericRepository <SystemCountryCodePoco> Repo = new EFGenericRepository <SystemCountryCodePoco>();

            _logic = new SystemCountryCodeLogic(Repo);
        }
Ejemplo n.º 5
0
        public List <SystemCountryCodePoco> GetAllSystemCountryCode()
        {
            SystemCountryCodeLogic logic = new SystemCountryCodeLogic(new EFGenericRepository <SystemCountryCodePoco>(false));

            return(logic.GetAll());
        }
Ejemplo n.º 6
0
        public SystemCountryCodePoco GetSingleSystemCountryCode(string Id)
        {
            SystemCountryCodeLogic logic = new SystemCountryCodeLogic(new EFGenericRepository <SystemCountryCodePoco>(false));

            return(logic.Get(Id));
        }
Ejemplo n.º 7
0
        public SystemCountryCodeController()
        {
            var repo = new EntityFrameworkDataAccess.EFGenericRepository <SystemCountryCodePoco>();

            _logic = new SystemCountryCodeLogic(repo);
        }
Ejemplo n.º 8
0
        // return single
        public SystemCountryCodePoco GetSingleSystemCountryCode(string Id)
        {
            var reference = new SystemCountryCodeLogic(new EFGenericRepository <SystemCountryCodePoco>(false));

            return(reference.Get(Id));
        }
Ejemplo n.º 9
0
        public void AddSystemCountryCode(SystemCountryCodePoco[] items)
        {
            var logic = new SystemCountryCodeLogic(new EFGenericRepository <SystemCountryCodePoco>(false));

            logic.Add(items);
        }
Ejemplo n.º 10
0
        public void RemoveSystemCountryCode(SystemCountryCodePoco[] items)
        {
            var logic = new SystemCountryCodeLogic(new EFGenericRepository <SystemCountryCodePoco>(false));

            logic.Delete(items);
        }
Ejemplo n.º 11
0
        public SystemCountryCodeController()
        {
            var repo = new EFGenericRepository <SystemCountryCodePoco>(false);

            logic = new SystemCountryCodeLogic(repo);
        }
        public SystemCountryCodeController()
        {
            var repository = new ApplicantProfileRepository <SystemCountryCodePoco>(false);

            logic = new SystemCountryCodeLogic(repository);
        }
Ejemplo n.º 13
0
        // update record
        public void UpdateSystemCountryCode(SystemCountryCodePoco[] items)
        {
            var reference = new SystemCountryCodeLogic(new EFGenericRepository <SystemCountryCodePoco>(false));

            reference.Update(items);
        }
Ejemplo n.º 14
0
 public System()
 {
     _SystemCountryCodeLogic  = new SystemCountryCodeLogic(new EFGenericRepository <SystemCountryCodePoco>(false));
     _SystemLanguageCodeLogic = new SystemLanguageCodeLogic(new EFGenericRepository <SystemLanguageCodePoco>(false));
 }
Ejemplo n.º 15
0
        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);
        }
Ejemplo n.º 16
0
        public SystemCountryCodeController()
        {
            EFGenericRepository <SystemCountryCodePoco> repo = new EFGenericRepository <SystemCountryCodePoco>();

            _logic = new SystemCountryCodeLogic(repo);
        }
Ejemplo n.º 17
0
        // retun single
        public List <SystemCountryCodePoco> GetAllSystemCountryCode()
        {
            var reference = new SystemCountryCodeLogic(new EFGenericRepository <SystemCountryCodePoco>(false));

            return(reference.GetAll());
        }