Пример #1
0
 public JsonResult Video_Edit(VideoDto model)
 {
     var result = _videoBll.Update(model);
     return ReturnJson(result, JsonMsg.Error_Edit);
 }
Пример #2
0
 public JsonResult Video_Add(VideoDto model)
 {
     var result = _videoBll.Add(model);
     return ReturnJson(result > 0, JsonMsg.Error_Add);
 }