public CompanyAddressesController(ICompanyRepository companyRepository, ICompanyAddressCategoryRepository companyaddresscategoryRepository, ICountryRepository countryRepository, IStateRepository stateRepository, ICompanyAddressRepository companyaddressRepository) { this.companyRepository = companyRepository; this.companyaddresscategoryRepository = companyaddresscategoryRepository; this.countryRepository = countryRepository; this.stateRepository = stateRepository; this.companyaddressRepository = companyaddressRepository; }
static CompanyAddressService() { repository = new CompanyAddressRepository(); }
public CompanyAddressController(ICompanyAddressRepository repository) : base(repository) { }