public ApiOrder GetSingle(int?id) { ApiOrder apiOrder = new ApiOrder(); try { apiOrder = service.GetSingle(id); } catch (Exception ex) { throw ex; } return(apiOrder); }