示例#1
0
        public async Task <IActionResult> GetFeedbackByFeed(string id, string feed)
        {
            var repo  = new TableStorageRepository();
            var cards = await repo.GetFeedByFeed(id, feed);

            var feedbackToReturn = _mapper.Map <FeedbackListDto>(cards);

            // if (!cards.Any())
            //     return NotFound();
            return(Ok(feedbackToReturn));
        }