Esempio n. 1
0
 public ActionResult GenderDelete([DataSourceRequest] DataSourceRequest request, GenderItem genderItem)
 {
     if (genderItem != null)
     {
         service.DeleteGender(genderItem);
     }
     return(Json(new[] { genderItem }.ToDataSourceResult(request, ModelState)));
 }