コード例 #1
0
        public async Task <IEnumerable <ModuleServiceObject> > GetAllModulesByOrganisationId(int organisationId, CancellationToken token)
        {
            var serviceResult = await _moduleRepository.GetAllModulesByOrganisationId(organisationId, token);

            return(_mapper.Map <IEnumerable <ModuleServiceObject> >(serviceResult));
        }