public ResultMessage <Personel> Get(Expression <Func <Personel, bool> > filter)
 {
     return(personelRepository.Get(filter));
 }
示例#2
0
 public async Task <Personel> GetPersonelById(int personeId)
 {
     return(await _personelRepository.Get(x => x.PersonelId == personeId));
 }