public void Coach_PlayerList() { service.Coach_PlayerList(new Model.dto.request.PlayerCoachQueryRequest { MemberId = 3, PageIndex = 1, PageSize = 10 }); }
public ContentResult coachplayer(PlayerCoachQueryRequest request) { request.MemberId = UserContext.WebUserContext.Id; var data = _playerCoachService.Coach_PlayerList(request); var res = new ResultDto <CoachPlayerResponse> { page = request.PageIndex, total = request.Total, records = request.Records, rows = data }; return(Content(res.Serialize())); }