public IdentityService(iChatContext context, IOptions <AppSettings> appSettings, IMapper mapper, IUserQueryService userQueryService, IWorkspaceQueryService workspaceService, IChannelQueryService channelQueryService) { _context = context; _mapper = mapper; _userQueryService = userQueryService; _workspaceQueryService = workspaceService; _appSettings = appSettings.Value; _channelQueryService = channelQueryService; }
public UsersController(IUserQueryService userQueryService, IUserCommandService userCommandService, IWorkspaceQueryService workspaceService, IChannelCommandService channelCommandService, IConversationCommandService conversationCommandService, ICacheService cacheService) { _userQueryService = userQueryService; _userCommandService = userCommandService; _workspaceQueryService = workspaceService; _channelCommandService = channelCommandService; _conversationCommandService = conversationCommandService; _cacheService = cacheService; }