コード例 #1
0
ファイル: Program.cs プロジェクト: Roman-2019/Entity
        static void Main(string[] args)
        {
            var carController    = new CarsController();
            var detailController = new DetailsController();

            //var allCars = carController.GetAll();
            //var carById = carController.GetId(1);
            //var allDetails = detailController.GetAll();
            var detailById = detailController.GetId(2);

            //detailController.Insert(null);
            //detailController.Update(null);
            //detailController.Delete(5);


            //carController.Insert(null);
            //carController.Update(null);
            //carController.Delete(6);

            Console.ReadKey();
        }