public async void Task_DeleteCategory_Return_OkResult()
        {
            //Arrange
            var controller = new BookCategoryController(context);
            var id         = 11;
            //Act
            var data = await controller.Delete(id);

            //Assert
            Assert.IsType <OkObjectResult>(data);
        }
        public void Task_DeleteBookCategory_Return_View()
        {
            //Arrange
            var controller = new BookCategoryController(context);
            var id         = 1;
            //Act
            var data = controller.Delete(id);

            //Assert
            Assert.IsType <ViewResult>(data);
        }
        public async void Task_Delete_Return_NotFound()
        {
            //Arrange
            var controller = new BookCategoryController(context);
            var id         = 10;

            //Act

            var data = await controller.Delete(id);

            //Assert

            Assert.IsType <NotFoundResult>(data);
        }
        public async void Task_Delete_BookCategory_Return_BadRequest()
        {
            //Arrange
            var controller = new BookCategoryController(context);
            int?id         = null;

            //Act

            var data = await controller.Delete(id);

            //Assert

            Assert.IsType <BadRequestResult>(data);
        }