public async Task <IActionResult> GetProfileData() { int roomieId = int.Parse(HttpContext.User.FindFirst(c => c.Type == ClaimTypes.NameIdentifier).Value); Result <RoomieProfileData> result = await _roomiesGateway.GetProfile(roomieId); return(this.CreateResult(result)); }