public int DeleteAuthorById(Guid id) { var itemToDelete = authorDal.FindAuthorById(id); authorDal.DeleteAuthor(itemToDelete); return(0); }