/// <summary> /// Initializes a new Artist object, and saves it in the persistence subsystem /// </summary> /// <param name="artistName">Name of artist</param> /// <param name="dataAccessFacade">Facade to persistence subsystem</param> /// <exception cref="System.ArgumentOutOfRangeException">Thrown when artistName is an empty string or whitespace</exception> internal Artist(string artistName, IDataAccessFacade dataAccessFacade) { validateArtistName(artistName); _artistEntity = dataAccessFacade.CreateArtist(artistName); }