public IEnumerable <TodoVM> List(TodoFilterVM filter) { return(Service.List(filter.MapTo <TodoFilter>()).EnumerableTo <TodoVM>()); }
public IEnumerable <TodoVM> Get([FromQuery] TodoFilterVM filter) { return(appService.List(filter)); }