예제 #1
0
 protected void CompanyAdd_Click(object sender, EventArgs e)
 {
     AppData.Instance.company.CompanyName = CompanyUC.CompanyName.Text;
     AppData.Instance.company.CompanyContactNumber = CompanyUC.ContactNum.Text;
     CompanyRepository comRepos = new CompanyRepository();
     lbMessage.Text = comRepos.AddCompany(AppData.Instance.company);
 }