Esempio n. 1
0
 public UserShiftRevenue GetRevenueShift([FromBody] Search.Revenues.PlazaShift value)
 {
     if (null == value)
     {
         return(null);
     }
     return(UserShiftRevenue.GetPlazaRevenue(value.Shift, value.Plaza));
 }
        public NDbResult <UserShiftRevenue> GetRevenueShift([FromBody] Search.Revenues.PlazaShift value)
        {
            NDbResult <UserShiftRevenue> result;

            if (null == value)
            {
                result = new NDbResult <UserShiftRevenue>();
                result.ParameterIsNull();
            }
            else
            {
                result = UserShiftRevenue.GetPlazaRevenue(value.Shift, value.PlazaGroup);
            }
            return(result);
        }
Esempio n. 3
0
 public UserShiftRevenue GetRevenueShift(Search.Revenues.PlazaShift value)
 {
     return(NRestClient.Create(port: 9000).Execute <UserShiftRevenue>(
                RouteConsts.Revenue.GetPlazaRevenue.Url, value));
 }