Beispiel #1
0
        //
        // GET: /TimeSheet/Create

        public ActionResult Create()
        {
            // Create TimeSheet Master
            // Create Detail List based on the number of days from the calendar month
            PersonRepository personRepository = new PersonRepository(new ATSCEEntities());
            Staff            staff            = personRepository.GetStaffByID(2);

            TimeSheetMaster master = TimesheetRepository.CreateTimeSheetMasterTemplate(DateTime.Today, staff);

            return(View(master));
        }