public async Task <object> UpdateAttendance(Guid businessID, Guid attendanceID, [FromBody] UpdateAttendanceModel updateAttendanceModel)
        {
            var checkBusinessId = await commonLogic.CheckBusinessID(businessID);

            if (checkBusinessId)
            {
                var checkAttendanceId = await commonLogic.CheckAttendaceID(businessID, attendanceID);

                if (checkAttendanceId)
                {
                    var checkEmployeeId = await commonLogic.CheckEmployeeID(businessID, updateAttendanceModel.EmployeeID);

                    if (checkEmployeeId)
                    {
                        var result = await attendanceLogic.UpdateAttendance(businessID, attendanceID, updateAttendanceModel);

                        if (result)
                        {
                            return(attendanceValidation.AttendanceUpdatedSuccess());
                        }

                        return(attendanceValidation.AttendanceUpdationFailed());
                    }

                    return(commonValidation.EmployeeIdNotExists(updateAttendanceModel.EmployeeID));
                }

                return(commonValidation.AttendanceIdNotExists(attendanceID));
            }
            return(commonValidation.BusinessIdNotExists(businessID));
        }