public static Company GetCompanyByID(int id) { Company company = new Company(); SqlCompanyProvider sqlCompanyProvider = new SqlCompanyProvider(); company = sqlCompanyProvider.GetCompanyByID(id); return company; }
public static List<Company> GetAllCompanies() { List<Company> companies = new List<Company>(); SqlCompanyProvider sqlCompanyProvider = new SqlCompanyProvider(); companies = sqlCompanyProvider.GetAllCompanies(); return companies; }
public static Company GetCompanyByID(int id) { Company company = new Company(); SqlCompanyProvider sqlCompanyProvider = new SqlCompanyProvider(); company = sqlCompanyProvider.GetCompanyByID(id); return(company); }
public static List <Company> GetAllCompanies() { List <Company> companies = new List <Company>(); SqlCompanyProvider sqlCompanyProvider = new SqlCompanyProvider(); companies = sqlCompanyProvider.GetAllCompanies(); return(companies); }
public static bool DeleteCompany(int companyID) { SqlCompanyProvider sqlCompanyProvider = new SqlCompanyProvider(); return(sqlCompanyProvider.DeleteCompany(companyID)); }
public static bool UpdateCompany(Company company) { SqlCompanyProvider sqlCompanyProvider = new SqlCompanyProvider(); return(sqlCompanyProvider.UpdateCompany(company)); }
public static int InsertCompany(Company company) { SqlCompanyProvider sqlCompanyProvider = new SqlCompanyProvider(); return(sqlCompanyProvider.InsertCompany(company)); }
public static bool UpdateCompany(Company company) { SqlCompanyProvider sqlCompanyProvider = new SqlCompanyProvider(); return sqlCompanyProvider.UpdateCompany(company); }
public static int InsertCompany(Company company) { SqlCompanyProvider sqlCompanyProvider = new SqlCompanyProvider(); return sqlCompanyProvider.InsertCompany(company); }
public static bool DeleteCompany(int companyID) { SqlCompanyProvider sqlCompanyProvider = new SqlCompanyProvider(); return sqlCompanyProvider.DeleteCompany(companyID); }