コード例 #1
0
 public List <Models.Role> GetItems()
 {
     try
     {
         var list   = new List <Models.Role>();
         var Dacess = new DataAccess.DataReaders();
         var num    = Dacess.GetAllRoles();
         return(list);
     }
     catch (Exception ex)
     {
         WebLog.Log(ex.Message.ToString());
         return(null);
     }
 }