Esempio n. 1
0
        public static void CreateMovie()
        {
            StandardMessages.CreateMessage("a Movie");
            Movie movie = ItemDataCapture.Movie();

            MovieRepository.SaveMovieToDB(movie);
            StandardMessages.WasCreatedMessage("book");
        }
Esempio n. 2
0
        public static void CreateMember()
        {
            StandardMessages.CreateMessage("a Member");
            Member member = MemberDataCapture.Member();

            MemberRepository.SaveMemberToDB(member);
            StandardMessages.WasCreatedMessage("member");
        }
Esempio n. 3
0
        public static void CreateBook()
        {
            StandardMessages.CreateMessage("a Book");
            Book book = ItemDataCapture.Book();

            BookRepository.SaveBookToDB(book);
            StandardMessages.WasCreatedMessage("book");
        }