public ActionResult <FilteredList <Drone> > Get([FromQuery] Filter filter) { try { return(Ok(filter.IncludeOtherEntity ? _droneService.GetAllDronesIncludeManufacturers() : _droneService.GetAllDrones(filter))); } catch (Exception e) { return(BadRequest(e.Message)); } }