select multiple column and deserializing temp table which contains rows
await _context.TblAdvanceBooking.Where(x => x.BatchID == gud).Select(x => new { x.BatchID, x.BookingId,x.OffAccountNumber,}).ToListAsync();
JsonConvert.DeserializeObject<List<PopupMessage>>(TempData["PopupMessages"]);
Comments
Post a Comment