Exemple #1
0
        public ActionResult <List <FeedbackOutputModel> > GetAllFeedbacks()
        {
            Mapper           mapper    = new Mapper();
            AuthorDataAccess feedbacks = new AuthorDataAccess();

            return(Ok(mapper.ConvertFeedbackDTOToFeedbackModelList(feedbacks.GetAllFeedbacks())));
        }