Example #1
0
 public UserRepository(UserManagingContext context)
 {
     this.context = context ?? throw new ArgumentNullException(nameof(context));
 }
Example #2
0
 public UserAccountQueries(UserManagingContext context, IMapper mapper)
 {
     this.context = context ?? throw new ArgumentNullException(nameof(context));
     this.mapper  = mapper;
 }