public ActionResult Edit_Config(AdminConfig ob)
 {
     ModelState.Remove("ID");
     if (ModelState.IsValid)
     {
         AdminConfigBL.Update(ob);
         return(RedirectToAction("Configrations"));
     }
     else
     {
         return(View());
     }
 }
        public ViewResult Edit_Config(int id)
        {
            var ob = AdminConfigBL.GetById(id);

            return(View(ob));
        }
 public ActionResult Configrations()
 {
     return(View(AdminConfigBL.GetAll()));
 }