Exemplo n.º 1
0
 public UserShift Create([FromBody] UserShiftCreate value)
 {
     if (null == value)
     {
         return(null);
     }
     return(UserShift.Create(value.Shift, value.User));
 }
        public NDbResult <UserShift> Create([FromBody] UserShiftCreate value)
        {
            NDbResult <UserShift> result;

            if (null == value)
            {
                result = new NDbResult <UserShift>();
                result.ParameterIsNull();
            }
            else
            {
                result = UserShift.Create(value.Shift, value.User);
            }
            return(result);
        }