public HttpResponseMessage GetDrones(int id) { // I am assuming you meant to get a single drone here var drone = DroneDTOFactory.Build(_droneService.GetDrone(id)); return(Request.CreateResponse(HttpStatusCode.OK, drone)); }
public HttpResponseMessage GetDrones(int id) { // I am assuming you meant to get a single drone here var drone = DroneDTOFactory.Build(_droneService.GetDrone(id)); return(Request.CreateResponse(HttpStatusCode.OK, drone)); }