public Task <IEnumerable <OutgoingAttackViewModel> > GetOutgoingAttacks() { int userId = int.Parse(User.FindFirstValue(ClaimTypes.NameIdentifier)); return(armyService.GetOutgoingAttacksAsync(userId)); }
public Task <IEnumerable <OutgoingAttackViewModel> > GetOutgoingAttacks() { int userId = int.Parse(User.FindFirstValue(ClaimTypes.NameIdentifier)); return(armyService.GetOutgoingAttacksAsync(userId)); }