/// <summary> /// 新建商品界面 /// </summary> /// <returns></returns> public async Task <IActionResult> Create() { var brands = await brandManager.GetAllBrandsAsync(); var tags = await tagManager.GetAllTagsAsync(); var specifications = await specificationManager.GetAllSpecificationsAsync(); CreateProductModel model = new CreateProductModel { Brands = brands, Tags = tags, Specifications = specifications }; return(View(model)); }