/// <summary> /// Obtiene la ultima fecha /// </summary> /// <history> /// [vku] 16/Jun/2016 Created /// [erosado] 05/08/2016 Modified. Se agregó async. /// </history> protected async void GetCloseDate() { try { var result = await BRConfiguration.GetCloseDate(); lastClosedDate = (DateTime)result; dtpkLastClose.Value = lastClosedDate; } catch (Exception ex) { UIHelper.ShowMessage(ex); } }
private async Task LoadCloseDate() { var result = await BRConfiguration.GetCloseDate(); CloseDate = result; }