public async Task <ZipFileSettings> GetZipFileSettingsAsync(string settingId) { using (var da = new ImageSourceDataAccess()) { var setting = await da.GetZipFileSettingsAsync(settingId); return(setting); } }
public ZipFileSettings GetZipFileSettings(string settingId) { using (var da = new ImageSourceDataAccess()) { var setting = da.GetZipFileSettings(settingId); return(setting); } }