public IEnumerable <User> GetAll() { try { return(DAL.GetAll().ToArray()); } catch (Exception e) { Logger.Logger.CreateLog(e); return(null); } }
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); } }
public IEnumerable <User> GetAll() { return(DAL.GetAll().ToArray()); }