Example #1
0
 public IEnumerable <StreetDto> GetAllDtos(StreetArgs args)
 {
     using (var repo = new StreetRepository())
     {
         var query = repo.GetAllDtos(args);
         return(query);
     }
 }
Example #2
0
 public IEnumerable <StreetDto> GetAll([FromUri] StreetArgs args)
 {
     return(streetService.GetAll(args));
 }
Example #3
0
 public IEnumerable <StreetDto> GetAll(StreetArgs args)
 {
     return(streetStorage.GetAllDtos(args));
 }