public async Task <UserNotification> GetUserNotificationAsync(int?tenantId, Guid userNotificationId) { var userNotification = await store.GetUserNotificationWithNotificationOrNullAsync( tenantId, userNotificationId ); return(userNotification?.ToUserNotification()); }
public async Task <UserNotification> GetUserNotificationAsync(int?tenantId, Guid userNotificationId) { var userNotification = await _store.GetUserNotificationWithNotificationOrNullAsync(tenantId, userNotificationId); if (userNotification == null) { return(null); } return(userNotification.ToUserNotification()); }