コード例 #1
0
 public ActionResult Edit(Organisations o)
 {
     if (o.Login != null & o.Password != null & o.DbName != null & o.DbLogin != null & o.DbPassword != null & o.OrganisationName != null & o.Address != null & o.Email != null)
     {
         int validUpdate = OrganisationDA.UpdateOrganisations(o);
         if (validUpdate != 0)
         {
             return(View("Details", o));
         }
     }
     return(View());
 }