//[ValidateAntiForgeryToken] //[Authorize(Roles ="admin")] public ActionResult <IEnumerable <AppSettingViewModel> > Get() { var settings = appSettingService.GetSettings(); return(Ok(settings)); }