public async Task <IHttpActionResult> Create(BuildingCreateAndUpdate model)
        {
            {
                //check if model is valid
                if (!ModelState.IsValid)
                {
                    return(BadRequest(ModelState));
                }

                //instantiate the service
                BuildingService service = CreateBuildingService();

                if (await service.CreateNewBuilding(model) == false)
                {
                    return(InternalServerError()); //500
                }

                return(Ok("Building Added")); //200 with custom message
            }
        }