public async Task <IActionResult> DeleteBook(int id) { var resultProcess = await bookBLL.DeleteAsync(id); if (!resultProcess.IsApproved) { return(BadRequest(resultProcess.ShortMessage)); } else { return(Ok(resultProcess.ObjectResult)); } }