Пример #1
0
        public async Task <ActionResult> GetEntities()
        {
            try
            {
                var items = await _carsService.GetEntities();

                return(Ok(items));
            }
            catch (Exception e)
            {
                //Need to change this somehow.
                Console.WriteLine(e);
                throw;
            }
        }