public AuthService(IAuthComponent authComponent, IUserComponent userComponent, IUOWCommit dbContext) : base(dbContext) { this.authComponent = authComponent; this.userComponent = userComponent; }
public AuthController(IAuthComponent component, IMapper mapper) { _component = component ?? throw new ArgumentNullException(nameof(component)); _mapper = mapper ?? throw new ArgumentNullException(nameof(mapper)); }