public Report GetReport(Expression <Func <Report, bool> > filter)
 {
     return(MapperHelper.MapToSameType(_reportDal.Get(filter)));
 }
 public Report Get(int id)
 {
     return(_reportDal.Get(id));
 }
Beispiel #3
0
 public IDataResult <Report> GetById(int reportId)
 {
     return(new SuccessDataResult <Report>(_reportDal.Get(p => p.ReportId == reportId), Messages.Geted));
 }