public async Task DeleteUsersSampleAsync_ShouldReturnNoContent_WhenIDIsValid()
        {
            int         id          = 1;
            UsersSample usersSample = new UsersSample();

            _projectBLMock.Setup(i => i.DeleteUsersSampleAsync(usersSample)).ReturnsAsync(usersSample);
            UsersSampleController usersSampleController = new UsersSampleController(_projectBLMock.Object);

            var result = await usersSampleController.DeleteUsersSampleAsync(id);

            Assert.IsType <NoContentResult>(result);
        }
        public async Task DeleteUsersSampleAsync_ShouldReturnStatusCode500_WhenUserSampleIsInvalid()
        {
            int         id          = -1;
            UsersSample usersSample = null;

            _projectBLMock.Setup(i => i.DeleteUsersSampleAsync(usersSample)).Throws(new Exception());
            UsersSampleController usersSampleController = new UsersSampleController(_projectBLMock.Object);

            var result = await usersSampleController.DeleteUsersSampleAsync(id);

            Assert.IsType <StatusCodeResult>(result);
            Assert.Equal(500, ((StatusCodeResult)result).StatusCode);
        }