public ResultTransactionModel AcceptJourney(AcceptJourneyModel model) { return(new ResultTransactionModel() { numAffactedRows = 1, Description = "" }); }
public HttpResponseMessage AcceptJourney(AcceptJourneyModel request) { // TODO : implement call to repository return(Request.CreateResponse(HttpStatusCode.OK, repository.AcceptJourney(request))); }