public void Setup() { _artistStore = new ArtistStore(); _controller = new ArtistController(_artistStore); _controller.Edit(new ArtistViewModel {Id = "", Name = "Iron Maiden"}); }
public ArtistController(IArtistStore artistStore) { _artistStore = artistStore; }