1
This commit is contained in:
parent
4eec251481
commit
eee4d777c3
@ -210,7 +210,7 @@ namespace asg_form.Controllers.Team
|
||||
public class TeamFind
|
||||
{
|
||||
public string teamName { get; set; }
|
||||
public List<string> roleNames { get; set; }
|
||||
public List<string> roles { get; set; }
|
||||
}
|
||||
|
||||
[Route("api/v3/form/all")]
|
||||
@ -257,7 +257,7 @@ namespace asg_form.Controllers.Team
|
||||
.Select(g => new TeamFind
|
||||
{
|
||||
teamName = g.Key.team_name,
|
||||
roleNames = g.Select(x => x.role_name).ToList()
|
||||
roles = g.Select(x => x.role_name).ToList()
|
||||
})
|
||||
.Skip((page - 1) * limit)
|
||||
.Take(limit)
|
||||
|
Loading…
x
Reference in New Issue
Block a user