public HttpResponseMessage GetDrones() { var drones = _droneService .GetDrones() .Select(DroneDTOFactory.Build); return(Request.CreateResponse(HttpStatusCode.OK, drones)); }
public HttpResponseMessage GetDrones() { var drones = _droneService .GetDrones() .Select(DroneDTOFactory.Build); return(Request.CreateResponse(HttpStatusCode.OK, drones)); }