public string AddGoodBrand(string brandName) { var loginUser = (UserInfo)Session["LoginUser"]; GoodsBrand brand = new GoodsBrand(); brand.CreateUserId = loginUser.UserId; brand.CreateUserName = loginUser.UserName; brand.Id = Guid.NewGuid(); brand.BrandName = brandName; brand.IsDelete = false; brand.Country = string.Empty; brand.Country = "中国"; var res = _manager.AddGoodsBrand(brand); return(Utils.SerializeObject(res)); }