public async Task <IHttpActionResult> ArchiveScheme([FromBody] List <int> lstID) { HttpResponseMessage response = new HttpResponseMessage(); try { var retValue = await Task.Run(() => _schemeService.ArchiveScheme(lstID, BPID)); return(Ok(retValue)); } catch (Exception ex) { response = Request.CreateErrorResponse(HttpStatusCode.InternalServerError, ex.Message); return(ResponseMessage(response)); } finally { } }