Пример #1
0
 public JsonResult Game_Edit(GameDto model)
 {
     var result = _gameBll.Update(model);
     return ReturnJson(result, JsonMsg.Error_Edit);
 }
Пример #2
0
 public JsonResult Game_Add(GameDto model)
 {
     var result = _gameBll.Add(model);
     return ReturnJson(result > 0, JsonMsg.Error_Add);
 }