public ActionResult <User> Create(User player)
        {
            _RegService.Create(player);

            return(player);
        }
        public ActionResult <Player> Create(Player player)
        {
            _PlayerService.Create(player);

            return(player);
        }
コード例 #3
0
 public JsonResult Post(Map map)
 {
     _MapService.Create(map);
     return(Json(map));
 }