Ejemplo n.º 1
0
 public OutPutDTO GetListByUser(int userId)
 {
     try
     {
         List <Menu> lstResult = menuBusiness.GetMenuByUser(userId);
         return(new OutPutDTO(true, Constants.STATUS_CODE.SUCCESS, Constants.STATUS_MESSAGE.SUCCESS, lstResult));
     }
     catch (Exception ex)
     {
         return(new OutPutDTO(false, Constants.STATUS_CODE.EXCEPTION, Constants.STATUS_MESSAGE.EXCEPTION + ex.Message, null));
     }
 }