Beispiel #1
0
        [ProducesResponseType(typeof(CourseResources), 404)] //請求的資源不存在
        public async Task <ActionResult <List <CourseResources> > > ReadAllAsync(int Course_Id)
        {
            #region 課程頁面
            List <CourseResources> course = new List <CourseResources>();

            //讀取CourseModel資料
            course = await _CourseServices.GetDataList();

            return(Ok(course));

            #endregion
        }