Exemplo n.º 1
0
        public CfNumberOrder GetNumberOrder(long id)
        {
            var resource = BaseRequest <Resource>(HttpMethod.Get, null, new CallfireRestRoute <Number>(id, NumberRestRouteObjects.Order, null));

            return(NumberOrderMapper.FromNumberOrder((NumberOrder)resource.Resources));
        }
 public CfNumberOrder GetNumberOrder(long id)
 {
     return(NumberOrderMapper.FromNumberOrder(NumberService.GetNumberOrder(new IdRequest(id))));
 }