Ejemplo n.º 1
0
        public async Task <IActionResult> CreateExhibition(string Id)
        {
            Member member = await MemberRepository.GetMember(Id);

            var art     = ArtRepository.GetArtFromExhibit(member);
            var exhibit = ArtRepository.GetExhibitId(member);

            ProfileViewModel = new ProfileViewModel(member, art, exhibit);
            return(View(ProfileViewModel));
        }