public void AddCompany(String name)
        {
            Company company = new Company(name);

            ServiceFactory.GetCompanies().AddCompany(company);

            Guid companyID = DBFacade.InsertCompanyAndReturnID(name);
            company.SetID(companyID);
            MessageBox.Show("شرکت با موفقیت اضافه شد");
        }
 public void AddCompany(Company company)
 {
     companies.Add(company);
 }
示例#3
0
 public void AddCompany(Company company)
 {
     companies.Add(company);
 }