public Person PersonGetId(int id)
 {
     return(_personDal.GetById(id));
 }
 public IDataResult <Person> GetById(int id)
 {
     return(new SuccessDataResult <Person>(_personDal.GetById(c => c.Id == id)));
 }
Beispiel #3
0
 public async Task <Person> GetById(int id)
 {
     return(await _personDal.GetById(id));
 }