public static void sua(NCC ncc) { db.Entry(ncc).State = EntityState.Modified; db.SaveChanges(); }
public static void them(NCC ncc) { db.NCCs.Add(ncc); db.SaveChanges(); }