Exemple #1
0
 public async Task <object> Get(GetAppSettings getAppSettings)
 {
     return(new GetAppSettingsResponse()
     {
         AppSettings = await AppSettingBusiness.GetAppSettingsAsync(getAppSettings.AppId)
     });
 }
        // GET: App
        public async Task <ActionResult> Index(int pageindex = 1, int appId = 0, string kword = "")
        {
            var appSettingDtos = await AppSettingBusiness.GetAppSettingsAsync(appId, pageindex, 20, kword);

            return(View(new PagedList <AppSettingDto>(appSettingDtos.Items, pageindex, 20, appSettingDtos.TotalPage)));
        }