Example #1
0
        public Task <IEnumerable <Dto.PersonDto> > Get()
        {
            var service = new PersonService();

            var data = service.GetManyByAsync();

            var mapper = new PersonMapper();

            var mappedData = mapper.MapManyAsync(data);

            return(mappedData);
        }