public void SaveAssets(AssetsMain main, LandAttribute attr) { main.InputTime = DateTime.Now; main.ExtDataTable = "ASSETS_LAND"; _assetsMainRep.Save(main); attr.AssetsNum = main.AssetsNum; _landRep.Save(attr); }