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