public LaneAttendance Create([FromBody] LaneAttendanceCreate value) { if (null == value) { return(null); } return(LaneAttendance.Create(value.Lane, value.User)); }
public NDbResult <LaneAttendance> Create([FromBody] LaneAttendanceCreate value) { NDbResult <LaneAttendance> result; if (null == value) { result = new NDbResult <LaneAttendance>(); result.ParameterIsNull(); } else { result = LaneAttendance.Create(value.Lane, value.User); } return(result); }