Example #1
0
 public IDataResult <Award> GetById(int awardId)
 {
     return(new SuccessDataResult <Award>(_awardDal.Get(p => p.PersonelOdulId == awardId)));
 }
Example #2
0
 public Award GetAwardById(int Id)
 {
     return(_awardDal.Get(x => x.Id == Id, x => x.Developer));
 }