Exemple #1
0
 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();
 }
Exemple #2
0
 public ActionResult AddAttribute(PAttribute attribute)
 {
     _arep.Add(attribute);
     return(RedirectToAction("AddAttribute"));
 }
Exemple #3
0
 public void Add(CharacterAttribute obj, DbTransaction transaction = null)
 {
     _attributeRepository.Add(obj, transaction);
 }