public ActionResult Delete(int id) { Salary salary = salaryService.FindById <Salary>(id); bool result = salaryService.DelEntity(salary); return(Json(new { result = result })); }