コード例 #1
0
        //[ValidateAntiForgeryToken]
        //[Authorize(Roles ="admin")]
        public ActionResult <IEnumerable <AppSettingViewModel> > Get()
        {
            var settings = appSettingService.GetSettings();

            return(Ok(settings));
        }