public async Task <IEnumerable <MovieResponse> > GetAllItemsFromDatabase()
        {
            var results = await _movieRankService.GetAllItemsFromDatabase();

            return(results);
        }
Пример #2
0
        public async Task <ActionResult <IList <MovieResponse> > > GetAllItemsFromDatabase()
        {
            var response = await _service.GetAllItemsFromDatabase();

            return(Ok(response));
        }