private void CreateAuthorHelper(out AuthorForCreationDto model, out string authorId) { authorId = System.Guid.NewGuid().ToString(); string bookId = Guid.NewGuid().ToString(); model = ObjectMocks.GetAuthorForCreation(authorId, bookId); _auRepo.CreateAuthor(model, authorId); }
private void CreateAuthorHelper(out string authorId, out dynamic author) { authorId = Guid.NewGuid().ToString(); author = ObjectMocks.GetAuthorForCreation(authorId); _authorService.CreateAuthor(author, authorId); }