Ejemplo n.º 1
0
        public IHttpActionResult PostAttendance(CheckinCheckoutdataAppView chkinout)
        {
            var subscriberid   = generic.GetUserDetail(chkinout.UserId).SubscriberId;
            var AttendanceData = emp.GetEmployeeAttendanceApp(chkinout.UserId, subscriberid, chkinout.Month, chkinout.Year);

            Attendance atdata = new Attendance();

            atdata.AttendanceData = AttendanceData;
            return(new AttendanceResult(atdata, Request));
        }