public ActionResult Delete(int id)
 {
     repository.DeleteById(id);
     return(Json(repository.GetAll()));
 }