public JsonResult AddLike(int id) { if (_newsRepository.AddLike(id)) { return(Json(200)); } return(Json(400)); }