示例#1
0
        public ActionResult <List <FeedbackOutputModel> > GetFeedbacksByPeriod(DateTimeInputModel period)
        {
            Mapper           mapper    = new Mapper();
            AuthorDataAccess feedbacks = new AuthorDataAccess();

            return(Ok(mapper.ConvertFeedbackDTOToFeedbackModelList(feedbacks.GetFeedbacksByPeriod(period.StringConverToDateTime(period.PeriodStart), period.StringConverToDateTime(period.PeriodEnd)))));
        }