/// <summary> /// Initializes a new instance of the <see cref="AuthorityCompanyBllTest" /> class. /// </summary> /// <param name="io">The IoCConfig class provide installing all components needed to use.</param> public AuthorityCompanyBllTest(IoCConfig io) { _authorityCompany = io.ServiceProvider.GetRequiredService <IAuthorityCompanyBll>(); }
/// <summary> /// Initializes a new instance of the <see cref="AuthorityCompanyController" /> class. /// </summary> /// <param name="role"></param> public AuthorityCompanyController(IAuthorityCompanyBll authorityCompany) { _authorityCompany = authorityCompany; }