public void AddInstytyts(Instytyts instToAdd) { this.Context.Instytyts.Add(instToAdd); this.SaveChanges(); }
public void RemoveInstytyts(Instytyts remToInstytyts) { this.Context.Instytyts.Remove(remToInstytyts); this.SaveChanges(); }
public List <Instytyts> FindByCName(Instytyts inst) { return(this.Context.Instytyts.Where(p => p.Instytyts_name == inst.Instytyts_name).ToList()); }