コード例 #1
0
        private void CreateDvd() //Create
        {
            var myView    = new DvdView();
            var dvdInfos  = myView.GetNewDvdInfo();
            var createDvd = _dvds.Create(dvdInfos);

            if (createDvd == null)
            {
                Console.WriteLine("Already in list.");
            }
        }
コード例 #2
0
 private void CreateDvd()
 {
     view.DisplayDvd(dvdRepository.Create(view.GetNewDvdInfo()));
 }