Пример #1
0
 public JsonResult Article_Edit(ArticleDto model)
 {
     var result = _articleBll.Update(model);
     return ReturnJson(result, JsonMsg.Error_Edit);
 }
Пример #2
0
 public JsonResult Article_Add(ArticleDto model)
 {
     var result = _articleBll.Add(model);
     return ReturnJson(result > 0, JsonMsg.Error_Add);
 }