public void UpdateCompany(Company company) { _dataManager.UpdateCompany(company); }
public void UpdateCompany(Company company) { var repository = new CompanyRepository(_db); repository.Edit(company); repository.Save(); }
public void CreateCompany(Company company) { _dataManager.CreateCompany(company); }
public void CreateCompany(Company company) { var repository = new CompanyRepository(_db); repository.Add(company); repository.Save(); }