Exemplo n.º 1
0
 public ActionResult DeleteInvite([DataSourceRequest] DataSourceRequest request,
                                  EmployeeInvite invite)
 {
     if (invite != null && ModelState.IsValid)
     {
         _companyService.DeleteInvite(invite);
     }
     return(Json(new[] { invite }.ToDataSourceResult(request, ModelState)));
 }