/// <summary> /// Initializes a new instance of the <see cref="RoleBllTest" /> class. /// </summary> /// <param name="io">The IoCConfig class provide installing all components needed to use.</param> public UserRoleBllTest(IoCConfig io) { _userRole = io.ServiceProvider.GetRequiredService <IUserRoleBll>(); _config = io.ServiceProvider.GetRequiredService <IConfigSetting>(); }
/// <summary> /// Initializes a new instance of the <see cref="UserRolesController" /> class. /// </summary> /// <param name="role"></param> public UserRolesController(IUserRoleBll userRole) { _userRole = userRole; }