public ActionResult DeleteComment(int id) { detailsRepository.DeleteById(id); detailsRepository.Save(); return(Ok()); }