public ActionResult GetStatus() { Bd = new AccessDB(); Bd.GetAllStatus(); ModelState.Clear(); return(View(Bd.GetAllStatus())); }
// [HttpGet] public ActionResult EditStatus(int idStatus) { Bd = new AccessDB(); return(View(Bd.GetAllStatus().Find(t => t.idStatus == idStatus))); }