public SystemCountryCodeController()
 {
     _logic = new SystemCountryCodeLogic(new EFGenericRepository <SystemCountryCodePoco>(false));
 }
 public SystemCountryCodeService()
 {
     _logic = new SystemCountryCodeLogic(new EFGenericRepository <SystemCountryCodePoco>());
 }
示例#3
0
        public void UpdateSystemCountryCode(SystemCountryCodePoco[] pocos)
        {
            SystemCountryCodeLogic logic = new SystemCountryCodeLogic(new EFGenericRepository <SystemCountryCodePoco>(false));

            logic.Update(pocos);
        }
示例#4
0
        public SystemCountryCodeService()
        {
            EFGenericRepository <SystemCountryCodePoco> Repo = new EFGenericRepository <SystemCountryCodePoco>();

            _logic = new SystemCountryCodeLogic(Repo);
        }
示例#5
0
        public List <SystemCountryCodePoco> GetAllSystemCountryCode()
        {
            SystemCountryCodeLogic logic = new SystemCountryCodeLogic(new EFGenericRepository <SystemCountryCodePoco>(false));

            return(logic.GetAll());
        }
示例#6
0
        public SystemCountryCodePoco GetSingleSystemCountryCode(string Id)
        {
            SystemCountryCodeLogic logic = new SystemCountryCodeLogic(new EFGenericRepository <SystemCountryCodePoco>(false));

            return(logic.Get(Id));
        }
示例#7
0
        public SystemCountryCodeController()
        {
            var repo = new EntityFrameworkDataAccess.EFGenericRepository <SystemCountryCodePoco>();

            _logic = new SystemCountryCodeLogic(repo);
        }
示例#8
0
        // return single
        public SystemCountryCodePoco GetSingleSystemCountryCode(string Id)
        {
            var reference = new SystemCountryCodeLogic(new EFGenericRepository <SystemCountryCodePoco>(false));

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

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

            logic.Delete(items);
        }
示例#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);
        }
示例#13
0
        // update record
        public void UpdateSystemCountryCode(SystemCountryCodePoco[] items)
        {
            var reference = new SystemCountryCodeLogic(new EFGenericRepository <SystemCountryCodePoco>(false));

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

            _logic = new SystemCountryCodeLogic(repo);
        }
示例#17
0
        // retun single
        public List <SystemCountryCodePoco> GetAllSystemCountryCode()
        {
            var reference = new SystemCountryCodeLogic(new EFGenericRepository <SystemCountryCodePoco>(false));

            return(reference.GetAll());
        }