private void BtnSave_Click(object sender, EventArgs e) { attribute = new MODEL.Entities.Attribute(); attribute.AttributeName = txtAttributeName.Text; attribute.Description = txtAttributeDescription.Text; attributeRepository.Add(attribute); ClearTextBoxes(); }
public ActionResult AddAttribute(PAttribute attribute) { _arep.Add(attribute); return(RedirectToAction("AddAttribute")); }
public void Add(CharacterAttribute obj, DbTransaction transaction = null) { _attributeRepository.Add(obj, transaction); }