Exemplo n.º 1
0
        public IEnumerable <IPermissionApplication> GetPermissions(SearchBookingSummariesQuery query)
        {
            var definition = CustomEntityDefinitionRepository.GetByCode(BookingCustomEntityDefinition.DefinitionCode);

            yield return(new CustomEntityReadPermission(definition));
        }
Exemplo n.º 2
0
 public async Task <IList <BookingSummary> > ExecuteAsync(SearchBookingSummariesQuery query, IExecutionContext executionContext)
 {
     return(await BookingProvider.FindBookingsInInterval(query));
 }