コード例 #1
0
        public async Task <ActionResult> CreateClub([FromBody] Club club)
        {
            var createdClub = await clubService.CreateClub(User.Identity.Name, club);

            return(CreatedAtAction("GetClub", createdClub.ClubId));
        }