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