コード例 #1
0
 public ActionResult Edit(long Id)
 {
     try
     {
         if (Id > 0)
         {
             var model = _stateWebTask.GetState(Id);
             model.lstCountry = GetCountryList();
             return(View(model));
         }
         else
         {
             return(View());
         }
     }
     catch (Exception ex)
     {
         return(View());
     }
 }