// DELETE: api/Ride/5 public bool Delete(string id) { return(RideDataProvider.DeleteRide(id)); }
// PUT: api/Ride/5 public bool Put(string id, [FromBody] UpdateRideDTO value) { return(RideDataProvider.UpdateRide(id, value)); }
public SearchResultsDTO FindPath([FromBody] SearchDTO value) { return(RideDataProvider.FindPath(value)); }
// POST: api/Ride public ReadRideDTO Post([FromBody] CreateRideDTO value) { return(RideDataProvider.InsertRide(value)); }
public IEnumerable <ReadRideDTO> GetCarrierByUser(string carrierId) { return(RideDataProvider.GetRidesByCarrier(carrierId)); }
// GET: api/Ride/5 public ReadRideDTO Get(string id) { return(RideDataProvider.GetRide(id)); }