public async Task UpdateUsersSampleAsync_ShouldReturnNoContent_WhenUsersSampleIsValid()
        {
            //arrange
            int         id          = 1;
            UsersSample usersSample = new UsersSample();

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

            //act
            var result = await usersSampleController.UpdateUsersSampleAsync(id, usersSample);

            //assert
            Assert.IsType <NoContentResult>(result);
        }
        public async Task UpdateUsersSampleAsync_ShouldReturnStatusCode500_WhenUsersSampleIsInvalid()
        {
            //arrange
            int         id          = -2;
            UsersSample usersSample = null;

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

            //act
            var result = await usersSampleController.UpdateUsersSampleAsync(id, usersSample);

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