public async Task <IActionResult> DeleteAuthor(int id)
        {
            var author = await _authorServices.FindAuthorAsync(id);

            if (author is null)
            {
                return(Ok(new { error_message = "Khong tim thay tac gia" }));
            }
            bool IsDeleteAuthor = await _authorServices.DeleteAuthorAsync(author);

            if (IsDeleteAuthor)
            {
                return(Ok(new { data = "Xoa tac gia thanh cong", success = true }));
            }
            else
            {
                return(Ok(new { error_message = "Xoa that bai, co loi xay ra" }));
            }
        }