public async Task <IActionResult> Get(string fromDate, string toDate) { var animals = await _filterService.GetAllFiltered(DateTime.Parse(fromDate), DateTime.Parse(toDate)); return(Ok(animals)); }