public void SendToGame(long gameId, DTO.Notifications.Notification notification) { var pushNotificationService = this.LifetimeScope.Resolve <IGameNotificationService>(); pushNotificationService.SendNotification(gameId, notification); }
public void SendToUser(string userId, DTO.Notifications.Notification notification) { var pushNotificationService = this.LifetimeScope.Resolve <IUserNotificationService>(); pushNotificationService.SendNotification(userId, notification); }