public async Task <IActionResult> BulkDeleteDrafts([FromBody] List <string> listToDelete) { Result result = new Result(); if (listToDelete != null) { result = await _approvalService.BulkDeleteDrafts(listToDelete); TempData["resultMsg"] = result.Message; TempData["isSuccess"] = result.Success ? "1" : "0"; } return(Json(result)); }