public UserService(DataContext context, IMapper mapper, IUserHelperService userHelperService) { _context = context; _userHelperService = userHelperService; _mapper = mapper; }
/// <summary> /// Inject constructor for Customer repository /// </summary> /// <param name="userContext">Context of all users</param> public CustomerRepository(IUserContextService context, IUserHelperService userHelperService) : base(context.UserContext) { _userHelperService = userHelperService; }