Esempio n. 1
0
        public async Task <IActionResult> All()
        {
            try
            {
                var classRooms = await _repository.All();

                return(Ok(classRooms));
            }
            catch (Exception)
            {
                throw;
            }
        }