let c1 = [{ Id = ""; Value = ""}; { Id = ""; Value = ""}; { Id = ""; Value = ""}]
let c2 = [{ Id = ""; Value = ""}; { Id = ""; Value = ""}; { Id = ""; Value = ""}]
if not List.exists (fun x-> x.Id = el.Id) then state @ el
if el.Value = null then state
else List.updateAt (List.findIndex (fun x -> x.Id = el.Id)) el state