Esempio n. 1
0
 public TSBShift Create([FromBody] TSBShiftCreate value)
 {
     if (null == value)
     {
         return(null);
     }
     return(TSBShift.Create(value.Shift, value.User));
 }
Esempio n. 2
0
        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);
        }