public IDataResult <House> GetById(int houseId) { return(new SuccessDataResult <House>(_houseDal.Get(p => p.HouseId == houseId))); }
public IDataResult <House> GetById(int id) { return(new SuccessDataResult <House>(_houseDal.Get(b => b.Id == id), Messages.HouseGetById)); }