コード例 #1
0
 public IDataResult <House> GetById(int houseId)
 {
     return(new SuccessDataResult <House>(_houseDal.Get(p => p.HouseId == houseId)));
 }
コード例 #2
0
 public IDataResult <House> GetById(int id)
 {
     return(new SuccessDataResult <House>(_houseDal.Get(b => b.Id == id), Messages.HouseGetById));
 }