public HttpResponseMessage MultiDelete([FromUri] int[] ids) { try { _errorService.MultiDelete(ids); return(Request.CreateResponse(HttpStatusCode.OK, new SuccessResponse())); } catch (Exception ex) { return(Request.CreateErrorResponse(HttpStatusCode.BadRequest, ex)); } }