Ejemplo n.º 1
0
        public Task <IEnumerable <OutgoingAttackViewModel> > GetOutgoingAttacks()
        {
            int userId = int.Parse(User.FindFirstValue(ClaimTypes.NameIdentifier));

            return(armyService.GetOutgoingAttacksAsync(userId));
        }