public async Task AddGoods(string name, string imgUrl, double price, double price_old) { using (var GoodSer = new GoodsService()) { await GoodSer.CreateAsync(new Goods() { Name = name, ImgUrl = imgUrl, Price = price, Price_old = price_old }); } }