Пример #1
0
    public ActionResult Detail(int peticonID)
    {
        var peticoneService = new PeticoneService();

        var peticoneViewModel = new PeticoneViewModel();

        peticoneViewModel.CurrentPeticione = peticoneService.GetPeticioneByID(peticonID);

        return(View("Detail", peticoneViewModel));
    }