public ActionResult CrudAdd(string mode, int id = 0)
 {
     if (!string.IsNullOrEmpty(mode) && mode == "edit")
     {
         CrudRepo db = new CrudRepo();
         return(View(db.GetCrudById(Convert.ToInt32(id))));
     }
     else
     {
         return(View());
     }
 }