示例#1
0
        public IList <UserDTO> Get([FromUri] int skip, [FromUri] int take, UserSortBy orderType, SortingOrder sortingOrder = SortingOrder.ASC)
        {
            IBaseService <User> service = ServiceManager.GetServiceManager().CreateInstance <User>();

            return(UserDTO.CovertToUserDTO(((UserService)service).Get(skip, take, orderType, sortingOrder)));
        }