public async Task <ActionResult> CreateClub([FromBody] Club club) { var createdClub = await clubService.CreateClub(User.Identity.Name, club); return(CreatedAtAction("GetClub", createdClub.ClubId)); }
public async Task <ActionResult> CreateClub([FromBody] Club club) { var createdClub = await clubService.CreateClub(User.Identity.Name, club); return(CreatedAtAction("GetClub", createdClub.ClubId)); }