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