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

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

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

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