示例#1
0
        public List <BusinessDTO> GetBusinessesBySearch(string companyname, string city, int?from, int?to, out int count)
        {
            var businessesBySearch = businessRepo.GetBusinessesBySearch(companyname, city, from, to, out count);

            return(BusinessAssembler.ToDTOs(businessesBySearch));
        }
示例#2
0
 public List <BusinessDTO> Get()
 {
     return(BusinessAssembler.ToDTOs(businessRepo.GetBusinesss()));
 }