private HotListArg BuildArg() { var result = new HotListArg { AppraiserId = _securityContext.CurrentAppraiserUser.Id, CompanyId = _securityContext.CurrentAppraiserUser.Company != null ? (int?)_securityContext.CurrentAppraiserUser.Company.Id : null }; return result; }
public int GetCountOfHotListCollection(HotListArg hotListArg) { return _hotListRepository.GetCountOfHotListCollection(hotListArg); }
public IEnumerable<HotList> GetHotListCollection(HotListArg hotListArg) { return _hotListRepository.GetCollection(hotListArg); }