Example #1
0
        public async Task <IEnumerable <Gateway> > GetAllGatewaysAsync()
        {
            var gatewayEntities = await gatewayRepository.GetAllAsync();

            return(mapper.Map(gatewayEntities, new List <Gateway>()));
        }