﻿using SOURCE.EspaceCandidature.Web.ViewModels.Pages.Common;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SOURCE.EspaceCandidature.Web.ViewModels.ModelBuilders.Common
{
    public interface ICommonModelBuilder
    {
        NavBarViewModel BuildNavBarViewModel(Context context);
        PageViewModel BuildPageViewModel(Context context, long pageID);
        IEnumerable<GroupeVueViewModel> BuildPageGroupeVuesViewModel(Context context, long pageID, long? idFonctionnel);
        PartialViewModel BuildPartialViewModel(Context context, long? idFonctionnel);
        TraductionsViewModel BuildTraductionViewModel(Context context, string type, long referenceId);
        DetailsViewModel BuildDetailsViewModel(Context context, long modeAffichageID, long groupeVueID, long? idFonctionnel, long? vueID, string tableName = null);
    }
}
