Cleanup .net warnings
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
using DiunaBIWebAPI.dataProcessors;
|
||||
using DiunaBIWebAPI.dataProcessors;
|
||||
using Google.Apis.Sheets.v4;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using WebAPI.Controllers;
|
||||
@@ -67,7 +67,7 @@ namespace WebAPI.dataProcessors
|
||||
Layer? dataSource = db.Layers.Where(x =>
|
||||
x.Type == LayerType.processed
|
||||
&& !x.IsDeleted
|
||||
&& x.Name.Contains($"{year}/{i}-{source}-T3"))
|
||||
&& x.Name!=null && x.Name.Contains($"{year}/{i}-{source}-T3"))
|
||||
.Include(x => x.Records)
|
||||
.FirstOrDefault();
|
||||
if (dataSource != null)
|
||||
|
||||
Reference in New Issue
Block a user