示例#1
0
 public ActionResult Edit(long Id)
 {
     try
     {
         if (Id > 0)
         {
             var model = _countryWebTask.GetCountry(Id);
             return(View(model));
         }
         else
         {
             return(View());
         }
     }
     catch (Exception ex)
     {
         return(View());
     }
 }