Beispiel #1
0
        public IActionResult Insert(InsertPersonShoeModel model)
        {
            Thread t = new Thread(() => p.InsertPerson(model.Name, model.Age.ToString(), model.Gender));

            t.Start();

            Thread d = new Thread(() => s.InsertShoe(model.ShoeName, model.ShoeBrand));

            d.Start();

            Thread f = new Thread(() => PersonShoe(model));

            f.Start();

            ModelState.Clear();

            return(View(new InsertPersonShoeModel()));
        }