public void Add_Property_ReturnsCreatedResponse()
        {
            // Arrange
            var theItem = new Domain.Entities.Property
            {
                PropertyName   = "prop5",
                PropertyNumber = 105,
                Area           = 100,
                LandlordId     = 1,
                PropertyID     = 5,
                Address        = "Address5",
                PropertyStatus = Domain.Enums.Status.North
            };

            MoqSetupAdd(theItem);

            var createdDto = mapper.Map <PropertyDto>(theItem);

            // Act

            //See how the ValidateViewModel extension method in the Helper class is useful here
            _controller.ValidateViewModel(theItem);
            //I have used the above useful extension method to simulate validation instead of adding customly like below
            //_controller.ModelState.AddModelError("CustomerName", "Required");

            var theResponse = _controller.Post(1, createdDto);

            // Assert
            Assert.IsType <CreatedAtRouteResult>(theResponse);
        }