Exemple #1
0
        // GET: api/PlayerAPI
        public IEnumerable <Player> Get()
        {
            return(iplayer.GetModel().Where(a => a.RoleId != null).ToList());

            // return listObjects;
        }
Exemple #2
0
 // GET: api/Match
 public IEnumerable <PlayerScore> Get()
 {
     return(iplayerscore.GetModel().ToList());
 }
 // GET: User
 public ActionResult Index()
 {
     return(View(interfaceobj.GetModel().ToList()));
 }
 // GET: api/Match
 public IEnumerable <MatchPlayer> Get()
 {
     return(imatchpalyer.GetModel().ToList());
 }
 // GET: Player
 public ActionResult Index()
 {
     return(View(IplayerRole.GetModel().ToList()));
 }
Exemple #6
0
 // GET: api/Match
 public IEnumerable <Match> Get()
 {
     return(imatch.GetModel().ToList());
 }
 // GET: api/UserAPI
 public IEnumerable <User> Get()
 {
     return(interfaceobj.GetModel().ToList());
 }