public async Task NotifyNoBaseAsync(string[] userIds, string type, IDataBaseNotificationSourse sourse) { var template = new DataBaseSourse { Date = DateTime.Now, Base64Sourse = ObjectToBase64String(sourse), Type = type }; await _notificationService.NotifyAsync(userIds, template, "dataBase"); }
public async Task NotifyNoBaseAsync(string userId, string tokenId, string type, IDataBaseNotificationSourse sourse) { await _notificationService.NotifyAsync(userId, tokenId, "dataBase", new DataBaseSourse { Date = DateTime.Now, Base64Sourse = ObjectToBase64String(sourse), Type = type } ); }