package com.example.demo.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;

@Controller
public class SiteController {
    @GetMapping("/")
    public String viewHomePage(Model model) {
        //model.addAttribute("allemplist", employeeServiceImpl.getAllEmployee());
        return "home";
    }
}