public void Create(string name)
        {
            var newAuthor = new Author
            {
                Id   = "7",
                Name = name
            };

            authorsRepository.Create(newAuthor);
        }
Esempio n. 2
0
 public int Create(Author author)
 {
     return(_authorsRepository.Create(author));
 }