Example #1
0
        public async Task <ActionResult> Explore([FromBody] SendExplorationDTO explorationDTO)
        {
            var atkCountry = await _userService.GetCountryByUserID(User.Identity.Name);

            explorationDTO.SenderCountryID = atkCountry.ID;
            await _battleService.SendExplorersToCountry(explorationDTO);

            return(Ok());
        }