public ActionResult Create(Attendance attendance)
        {
            var createdAttendance = _iFAttendance.Create(UserId, ManagerEmployeeId, attendance);

            _iFWorkLog.Create(createdAttendance.AttendanceId, UserId, attendance.WorkLogs);
            return(RedirectToAction("Index"));
        }
Exemplo n.º 2
0
        public ActionResult Create(Attendance attendance)
        {
            var createdAttendance = _iFAttendance.Create(UserId, attendance);

            return(RedirectToAction("Index"));
        }