예제 #1
0
 public FriendsService(IOptions <FacebookAuthSettings> fbAuthSettingsAccessor,
                       IOptions <VkAuthSettings> vkAuthSettingsAccessor, IOptions <JwtSettings> jwtOptions,
                       SocialDataUnitOfWork socialDb, ILogger <FriendsService> logger, MediaConverter mediaConverter)
 {
     FbAuthSettings = fbAuthSettingsAccessor.Value;
     VkAuthSettings = vkAuthSettingsAccessor.Value;
     Logger         = logger;
     SocialDb       = socialDb;
     MediaConverter = mediaConverter;
 }
 public FollowersController(SocialDataUnitOfWork mainDb, ConnectionsHub hub, MediaConverter mediaConverter)
 {
     SocialDb       = mainDb;
     Hub            = hub;
     MediaConverter = mediaConverter;
 }