Cancellazione logica tecnici

This commit is contained in:
Marco Audiffredi 2023-12-21 15:46:50 +01:00
parent 48af539244
commit 446702600b
2 changed files with 3 additions and 0 deletions

View File

@ -59,6 +59,7 @@ namespace VirtualTask.Controllers
{
string data = response.Content.ReadAsStringAsync().Result;
modelList = JsonConvert.DeserializeObject<List<Tecnici>>(data);
modelList=modelList.Where(x=>x.tcdatobs==null).ToList();
if (!string.IsNullOrEmpty(searchString))
{

View File

@ -45,5 +45,7 @@ namespace VirtualTask.Models
[Column(TypeName = "decimal(18, 4)")]
public decimal? tccofe { get; set;}
public DateTime? tcdatobs { get; set; }
}
}