public HttpResponseMessage Post(ErrorInputModel errorMessage) { ClientErrorException ex = new ClientErrorException(errorMessage.ToString()); ErrorSignal signal = ErrorSignal.FromCurrentContext(); signal.Raise(ex); return Request.CreateResponse(HttpStatusCode.OK, "{success:true}"); }
public HttpResponseMessage Post(ErrorInputModel errorMessage) { ClientErrorException ex = new ClientErrorException(errorMessage.ToString()); ErrorSignal signal = ErrorSignal.FromCurrentContext(); signal.Raise(ex); return(Request.CreateResponse(HttpStatusCode.OK, "{success:true}")); }