public async Task <IActionResult> AddBarComment(BarViewModel vm) { var userId = int.Parse(this.User.FindFirst(System.Security.Claims.ClaimTypes.NameIdentifier).Value); await aService.AddBarCommentAsync(vm.Id, vm.CreateComment, userId); var bar = await barService.FindBarByIdAsync(vm.Id); var barForView = new BarViewModel(bar); return(View("BarDetails", barForView)); }