Beispiel #1
0
        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();
        }
Beispiel #2
0
 public void put([FromBody] DirectorClass director)
 {
     context.Director.Update(director);
     context.SaveChanges();
 }
Beispiel #3
0
 public void post([FromBody] DirectorClass director)
 {
     context.Director.Add(director);
     context.SaveChanges();
 }