Häufig verwendete Methoden
Häufig verwendete Methoden
Häufig verwendete Methoden
Häufig verwendete Methoden
public HttpResponseMessage Cancel(Guid searchId) { var search = _searchProvider.GetSearch(searchId); if (search == null) { return(Request.CreateErrorResponse(HttpStatusCode.NotFound, string.Format("searchId: {0} was not found", searchId))); } _searchProvider.CancelSearch(searchId); return(Request.CreateResponse(HttpStatusCode.OK)); }