public ActionResult SendMailCandidatePass([DataSourceRequest] DataSourceRequest request, List<Guid> candidateIds) { var service = new Rec_CandidateServices(); bool result = false; if (candidateIds != null && candidateIds.Any()) { result = service.SendMailCandidateFail(candidateIds, true); } return Json(result, JsonRequestBehavior.AllowGet); }