public IActionResult ShowCExhibition(int eId, int ceId) { SingleExh model = new SingleExh(exhibitionService.GetExhById(eId), currentExhibitionService.GetCurExhById(ceId), currentExhibitionService.GetAllPicsFromExhibition(ceId), hRService.GetPlaceById(currentExhibitionService.GetCurExhById(ceId).IdExhPlace) , hRService.GetCityById(hRService.GetPlaceById(currentExhibitionService.GetCurExhById(ceId).IdExhPlace).IdCity)); return(View(model)); }
public IActionResult ShowArtist(int artistId) { SingleArtist model = new SingleArtist(artistsService.GetArtistById(artistId), pictureService.GetAllPicsFromArtist(artistId), hRService.GetCityById((int)artistsService.GetArtistById(artistId).IdCity)); return(View(model)); }