常用方法
常用方法
常用方法
常用方法
public async Task <IActionResult> CreateAttributeValue(string name, ManageAttributesViewModel model) { AttributeValue attrVal = new AttributeValue() { Name = name, AttributeId = model.SelectedAttributeId }; await _attributeService.AddAttributeValue(attrVal); return(RedirectToAction("Index")); }