public async Task<iactionresult> Details(string _SrcSys, string _CustId, string _AccId) { if (_SrcSys == null || _CustId == null || _AccId == null) { return NotFound(); // The three are Composite Key elements } var Accs = await _context.Accounts .Include(Bal => Bal.Balances) .OrderBy(Bal => Bal.Balances.OrderByDescending(x => x.RepDt)) //Why isn't this sorting the result? .SingleOrDefaultAsync(x => x.SrcSys == _SrcSys && x.CustId == _CustId && x.AccId == _AccId); return View(Accs);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)