Esempio n. 1
0
        public async Task <ActionResult <CollectionViewModel <TimeZone> > > Get()
        {
            IEnumerable <TimeZone> timeZone = await _timeZoneRepository.GetAllAsync();

            var response = new CollectionViewModel <TimeZone>(timeZone.ToList());

            return(Ok(response));
        }