public HttpResponseMessage Delete(Guid id)
        {
            ServiceResult result = _customFilterService.Delete(id);

            return(Request.CreateResponse(result.Succeeded ? HttpStatusCode.OK : HttpStatusCode.BadRequest));
        }
Example #2
0
 private void DeleteCustomResource(int id)
 {
     _customFilterService.Delete(id);
 }