package com.uca.gui;

import com.uca.core.*;
import freemarker.template.*;
import java.io.*;
import java.util.*;
import  com.uca.entity.*;

public class ProfGUI 
{
    public static String getAllProfs() throws IOException, TemplateException {

        Map<String, Object> input = new HashMap<>();
        input.put("profs", Core.Prof.getAll());
        return DefaultGUI.getDefaultGUI(input, "profsRegular.ftl");
    }

<<<<<<< HEAD
=======

>>>>>>> 5ec4cf8bc3d664e61a91bbf24c5be8fd9b73c1fb
    public static String getWelcomePage(ProfEntity prof)
    { 
        Map<String, Object> input = new HashMap<>();
        input.put("prof",prof);
        return DefaultGUI.getDefaultGUI(input, "welcome.ftl");
    }
<<<<<<< HEAD
=======

>>>>>>> 5ec4cf8bc3d664e61a91bbf24c5be8fd9b73c1fb
}