private async Task GetCurrentDate() { utilServices = new UtilServices(); string currentDate = await utilServices.GetCurrentDateServer(); Preferences.Set("currentDate", currentDate); }
private async Task GetMaxDay() { utilServices = new UtilServices(); hari = await utilServices.GetMaxDayServices(); Preferences.Set("maxHari", hari.hari); }
public MainViewModel() { Rates = new ObservableCollection <Rate>(); dataService = new DataService(); utilService = new UtilServices(); IsEnabled = false; GetRates(); }