public ActionResult DeleteRepairs(int[] ids) { var repairService = new RepairService(); var ownerId = (Session["Account"] as AccountInfo).Id; return(Json(repairService.DeleteByOwner(ids, ownerId))); }
public ActionResult DeleteRepairs(int[] ids) { var repairService = new RepairService(); var ownerId = (Session["Account"] as AccountInfo).Id; return(Json(repairService.DeleteByOwner(ids, ownerId))); }