Exemple #1
0
        public async Task <HttpResponseMessage> GetScheduleByDelegationId(int delegationId)
        {
            return(await ValidateAndHandleOperationExecutionAsync(async() =>
            {
                var result = await _calendarDomainService.GetScheduleByDelegationId(delegationId);

                return Request.CreateResponse(HttpStatusCode.OK, result);
            }));
        }