private void button1_Click(object sender, EventArgs e) { BuilderClass builderClass = new KisilerConcreteBuilder(); DirectorClass gonder = new DirectorClass(); gonder.Gonder(builderClass); builderClass.Hediye.ToString(); builderClass = new KazanankisiBuilder(); gonder.Gonder(builderClass); builderClass.Hediye.ToString(); }
public void put([FromBody] DirectorClass director) { context.Director.Update(director); context.SaveChanges(); }
public void post([FromBody] DirectorClass director) { context.Director.Add(director); context.SaveChanges(); }