Пример #1
0
 public IEnumerable <TodoVM> List(TodoFilterVM filter)
 {
     return(Service.List(filter.MapTo <TodoFilter>()).EnumerableTo <TodoVM>());
 }
Пример #2
0
 public IEnumerable <TodoVM> Get([FromQuery] TodoFilterVM filter)
 {
     return(appService.List(filter));
 }