Example #1
0
 public MessageService(IFirebaseMessageRepository fbMessageRepository, IAttachmentRepository attachmentRepository, IFirebaseStorageFactory storageFactory, ICounterRepository counterRepository, IMessageRepository messageRepository, IOptions <AppSettings> appSettings)
 {
     _fbMessageRepository  = fbMessageRepository;
     _counterRepository    = counterRepository;
     _attachmentRepository = attachmentRepository;
     _messageRepository    = messageRepository;
     _storageFactory       = storageFactory;
     _appSettings          = appSettings;
 }
 public FirebaseMessageService(IFirebaseMessageRepository messageRepository, ICounterRepository counterRepository)
 {
     _messageRepository = messageRepository;
     _counterRepository = counterRepository;
 }