Ejemplo n.º 1
0
 public IEnumerable <Award> GetAll()
 {
     try
     {
         return(DAL.GetAll().ToArray());
     }
     catch (Exception e)
     {
         Logger.Logger.CreateLog(e);
         return(null);
     }
 }
Ejemplo n.º 2
0
 public IEnumerable <Award> GetUsersAllAward(Guid idUs)
 {
     try
     {
         return(DAL.GetAll().Where(x => x.IdUser == idUs).Join(DALAward.GetAll(), x => x.IdAward, y => y.Id, (x, y) => y).ToArray());
     }
     catch (Exception e)
     {
         Logger.Logger.CreateLog(e);
         return(null);
     }
 }
Ejemplo n.º 3
0
 public IEnumerable <Award> GetAll()
 {
     return(awardDAL.GetAll());
 }
Ejemplo n.º 4
0
 public IEnumerable <AwardDTO> GetAll()
 {
     return(dal.GetAll().ToArray());
 }