public async Task <IEnumerable <IList <Notification> > > GetNotificationsGroupedByPatient(PerformContext context, string requestId, DateTime rangeStartDate, DateTime endStartDate) { var groupedIds = await _migrationRepository.GetGroupedNotificationIdsByDate(rangeStartDate, endStartDate); return(await GetGroupedResultsAsNotificationAsync(groupedIds, context, requestId)); }