예제 #1
0
 public IEnumerable <User> GetAll()
 {
     try
     {
         return(DAL.GetAll().ToArray());
     }
     catch (Exception e)
     {
         Logger.Logger.CreateLog(e);
         return(null);
     }
 }
예제 #2
0
 public IEnumerable <User> GetAwardOfAllUsers(Guid idAw)
 {
     try
     {
         return(DAL.GetAll().Where(x => x.IdAward == idAw).Join(DALUsers.GetAll(), x => x.IdUser, y => y.Id, (x, y) => y).ToArray());
     }
     catch (Exception e)
     {
         Logger.Logger.CreateLog(e);
         return(null);
     }
 }
예제 #3
0
 public IEnumerable <User> GetAll()
 {
     return(DAL.GetAll().ToArray());
 }