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);
 }
Ejemplo n.º 3
0
 public void AddCompany(Company company)
 {
     companies.Add(company);
 }