public static tppointstatu UpdatePPointStatus(tppointstatu post) { using (vEntities context = new vEntities()) { context.Entry(post).State = EntityState.Modified; context.SaveChanges(); } return(post); }
public static tppointstatu UpdatePPointStatus(tppointstatu post) { using (vEntities context = new vEntities()) { context.Entry(post).State = EntityState.Modified; context.SaveChanges(); } return post; }
public static tppointstatu CreatePPointStatus(tppointstatu post) { using (vEntities context = new vEntities()) { context.tppointstatus.Add(post); context.SaveChanges(); } return(post); }
public static tppointstatu CreatePPointStatus(tppointstatu post) { using (vEntities context = new vEntities()) { context.tppointstatus.Add(post); context.SaveChanges(); } return post; }