コード例 #1
0
 public ResultModel Get(int id)
 {
     try
     {
         return(new ResultModel(Code.OK, _returnBookBLL.GetById(id), "thành công"));
     }
     catch (Exception)
     {
         return(new ResultModel(Code.SVERROR, "lỗi hệ thống"));
     }
 }