public ActionResult AddStore(Warehouse obj) { obj.CategorySN = Request["CategorySN"]; obj.CreateUID = Services.SysUserService.CurrentUser.UserID; var op = _warehouseRepository.AddOrUpdateResult(obj); return(this.ToJsonOperateResult(op)); }