private void RetrieveInstances(OrderFacade facade) { if (CurrentUserContext.IsAdmin || CurrentUserContext.IsEmployee) { CurrentInstances = facade.RetrieveAllOrder(new OrderConverter()); } else if (CurrentUserContext.IsSupplier) { CurrentInstances = facade.RetrieveOrdersBySupplier(CurrentUserContext.User.MatchId, new OrderConverter()); } else if (CurrentUserContext.IsCustomer) { CurrentInstances = facade.RetrieveOrdersByCustomer(CurrentUserContext.User.MatchId, new OrderConverter()); } }