private async Task RefreshCache() { var fooLeaveAppFormRepository = new LeaveAppFormRepository(); await fooLeaveAppFormRepository.ReadAsync(MainHelper.LeaveAppFormUserMode); LeaveAppFormList.Clear(); foreach (var item in fooLeaveAppFormRepository.Items) { LeaveAppFormList.Add(item); } }
private async Task RefreshCache() { var fooLeaveAppFormRepository = new LeaveAppFormRepository(); await fooLeaveAppFormRepository.ReadAsync(MainHelper.LeaveAppFormManagerMode); LeaveAppFormList.Clear(); foreach (var item in fooLeaveAppFormRepository.Items) { if (item.ApproveResult == "尚未審核") { LeaveAppFormList.Add(item); } } }