示例#1
0
 public ActionAnswer AddFloor()
 {
     return(AccountAction(() =>
     {
         var wId = mBuildingRepository.AddFloor();
         mActionChanges.Floors.Add(mBuildingRepository.GetFloor(wId));
     }, "Add floor", -10));
 }
示例#2
0
        public Floor Post()
        {
            var wId = BuildingRepository.AddFloor();

            return(BuildingRepository.GetFloor(wId));
        }