The lambda expression has the following syntax param => expression. That is, it is like a simple method that has an input parameter and a body. You define parameters only once, and then use them in the body of a method or lambda:
HR_ATTENDANCE_DEVICE_SHUTDOWN_TBL attendanceDeviceShutdownTbl =
context.HR_ATTENDANCE_DEVICE_SHUTDOWN_TBL.FirstOrDefault(x =>
x.Device_ID.Equals(model.DeviceId) && x.Device_Name == model.DeviceName);
x, . - , () x.
x.Device_ID.Equals(model.DeviceId) && x.Device_Name == model.DeviceName
: - ( #). , == - . = - . .