public Task <IEnumerable <AvailableUnitViewModel> > GetAvailableUnits() { int userId = int.Parse(User.FindFirstValue(ClaimTypes.NameIdentifier)); return(armyService.GetAvailableUnitsAsync(userId)); }
public Task <IEnumerable <AvailableUnitViewModel> > GetAvailableUnits() { int userId = int.Parse(User.FindFirstValue(ClaimTypes.NameIdentifier)); return(armyService.GetAvailableUnitsAsync(userId)); }