Exemple #1
0
        public async Task <Exhibit> NewExhibit(Exhibit toAdd, Guid museumId)
        {
            Museum museum = await _museumRepository.Get(museumId);

            Exhibit createdExhibit = await museum.AddExhibit(toAdd);

            return(createdExhibit);
        }