public void SendTickle([RestMessage(RestMessageFormat.Json)] Tickle tickle) { ApplicationContext.Current.GetService <ITickleService>()?.SendTickle(tickle); }
public void CreateTickle(Tickle data) { ApplicationContext.Current.GetService <ITickleService>()?.SendTickle(data); RestOperationContext.Current.OutgoingResponse.StatusCode = 201; }