public ActionResult Index()
        {
            int currentUserId = 1;
            IEnumerable <LeavePlan> leaves = TimesheetRepository.GetLeavePlans(currentUserId);

            return(View(leaves));
        }
        //
        // GET: /LeavePlan/

        public ActionResult Index()
        {
            int currentUserId = 1;
            var leavePlans    = TimesheetRepository.GetLeavePlans(currentUserId);

            return(View(leavePlans.ToList()));
        }
        public ActionResult Team()
        {
            //int currentUserId = 1;
            //IEnumerable<LeavePlan> leaves = TimesheetRepository.GetLeavePlansForTeam(currentUserId);
            IEnumerable <LeavePlan> leaves = TimesheetRepository.GetLeavePlans();

            return(View(leaves));
        }