Refactor code to .NET8
This commit is contained in:
@@ -208,7 +208,7 @@ public class LayersController : Controller
|
||||
.ToList();
|
||||
try
|
||||
{
|
||||
if (!importWorkerLayers.Any())
|
||||
if (importWorkerLayers.Count == 0)
|
||||
{
|
||||
_logsController.AddEntry(new LogEntry
|
||||
{
|
||||
@@ -346,7 +346,7 @@ public class LayersController : Controller
|
||||
}
|
||||
|
||||
string[] processTypes =
|
||||
{
|
||||
[
|
||||
"T3-SingleSource",
|
||||
"T3-SourceYearSummary",
|
||||
"T3-MultiSourceSummary", // AA
|
||||
@@ -354,7 +354,7 @@ public class LayersController : Controller
|
||||
"T4-SingleSource",
|
||||
"T1-R1",
|
||||
"T4-R2"
|
||||
};
|
||||
];
|
||||
|
||||
foreach (var type in processTypes)
|
||||
{
|
||||
@@ -378,7 +378,7 @@ public class LayersController : Controller
|
||||
.OrderBy(x => x.CreatedAt)
|
||||
.ToList();
|
||||
|
||||
if (!processWorkerLayers.Any())
|
||||
if (processWorkerLayers.Count == 0)
|
||||
{
|
||||
_logsController.AddEntry(new LogEntry
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user