public JsonResult Delete(int id)
 {
     repository.Delete(id);
     return(Json(true, JsonRequestBehavior.AllowGet));
 }