public void AddAttribute() { TestTemplateAttribute attrib = new TestTemplateAttribute(); { attrib.TemplateID = 2; attrib.Attribute = "Thyroid biopsy_Attribute9"; attrib.PrefferedLimit = "1% - 3%"; }; TestTemplateManager attribute = new TestTemplateManager(); var AddNewAttribute = attribute.Addattribute(attrib); }
public void UpdateAttribute() { TestTemplateAttribute attrib = new TestTemplateAttribute(); { attrib.Attribute = "Thyroid biopsy_Attribute2"; attrib.PrefferedLimit = "1% - 7%"; attrib.ModifiedBy = "MLT"; attrib.ModifiedDate = DateTime.Now; }; TestTemplateManager attribute = new TestTemplateManager(); var AddNewAttribute = attribute.Updateattribute(attrib); }