save changes tomam

This commit is contained in:
SamSys
2025-04-28 16:59:35 +03:30
parent 3e02cd711f
commit ce088fc432

View File

@@ -59,7 +59,7 @@ namespace ServiceHost.Areas.AdminNew.Pages.Company.AndroidApk
public IActionResult OnPostShiftDateNew()
{
var startRollCall = new DateTime(2025, 3, 21);
var rollCalls = _context.RollCalls.Where(x => x.ShiftDate >= startRollCall && x.EndDate != null).ToList();
var rollCalls = _context.RollCalls.Where(x => x.ShiftDate >= startRollCall && x.EndDate != null && x.id == 105976).ToList();
var r1 = rollCalls.Take(10000).ToList();
Console.ForegroundColor = ConsoleColor.DarkRed;
@@ -254,7 +254,7 @@ namespace ServiceHost.Areas.AdminNew.Pages.Company.AndroidApk
stepSetTDRollCal += 1;
}
//_context.SaveChanges();
_context.SaveChanges();
}