예제 #1
0
 public void Player_CoachList()
 {
     service.Player_CoachList(new Model.dto.request.PlayerCoachQueryRequest
     {
         MemberId  = 13,
         PageIndex = 1,
         PageSize  = 10
     });
 }
예제 #2
0
        public ContentResult list(PlayerCoachQueryRequest request)
        {
            request.MemberId = UserContext.WebUserContext.Id;
            var data = _playerCoachService.Player_CoachList(request);
            var res  = new ResultDto <PlayerCoachResponse>
            {
                page    = request.PageIndex,
                total   = request.Total,
                records = request.Records,
                rows    = data
            };

            return(Content(res.Serialize()));
        }