// GET: api/ToDoTasks/GetToDoTasks?Title=""&Description=""&IsCompleted={true,false}&IsStricktFilter={true,false} public IHttpActionResult GetToDoTask([FromUri] FilterModel filterModel) { if (!filterModel.IsValidFilter()) { return(BadRequest(ModelState)); } IEnumerable <ToDoTaskDTO> toDoTaskDTOs = _toDoTaskService.GetMultiple(filterModel); return(Ok(toDoTaskDTOs)); }