示例#1
0
        public async Task <IActionResult> AddBulding([FromBody] AddBuildingRequest request)
        {
            var building = request.ToDto();
            await _buildingManerger.AddBuildingAsync(building);

            return(Created(Request.Path, building.WrapResponse(Request.Path)));
        }