コード例 #1
0
 public LaneAttendance Create([FromBody] LaneAttendanceCreate value)
 {
     if (null == value)
     {
         return(null);
     }
     return(LaneAttendance.Create(value.Lane, value.User));
 }
コード例 #2
0
        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);
        }