Example #1
0
 public IEnumerable <OwnerDto> GetAllActiveOwners()
 {
     return(QuerryForList <OwnerDto>(OwnerSql.GetAllDistinctActiveOwners()));
 }
Example #2
0
 public OwnerDto GetOwnerById(int ownerId)
 {
     return(QueryForObject <OwnerDto>(OwnerSql.GetOwnerById(ownerId)));
 }