Пример #1
0
        public IEnumerable <ApiOrder> GetAll(string filter = null, string sort = "OrderId DESC")
        {
            IEnumerable <ApiOrder> apiUsers = new List <ApiOrder>();

            try
            {
                apiUsers = service.GetAll(filter, sort);
            }
            catch (Exception ex)
            {
                throw ex;
            }
            return(apiUsers);
        }