public async Task <IHttpActionResult> Create([FromBody] FloorViewModel viewmodel) { var model = Mapper.Map <Floor>(viewmodel); var result = await _floorService.Create(model); return(Ok(Mapper.Map <FloorViewModel>(result))); }