@* For more information on enabling MVC for empty projects, visit http://go.microsoft.com/fwlink/?LinkID=397860 *@ @using Microsoft.AspNetCore.Mvc.Localization @using gehGassi.Web.Models @using Microsoft.Extensions.Localization @using gehGassi.Web.Helper @using gehGassi.Core.Services @model gehGassi.Web.Models.AppUserVm @inject IViewLocalizer Localizer @inject ICountryService CountryService @{ IStringLocalizer annotationsLocalizer = ViewBag.AnnotationsLocalizer; List dogs = new List(); if (ViewBag.Dogs != null) { dogs = ViewBag.Dogs as List; } }
@if (!string.IsNullOrWhiteSpace(Model.Photo)) { } else { }

@Model.FirstName @Model.LastName

@annotationsLocalizer["AppUser_Type"]: @Model.Type.GetDisplayName(annotationsLocalizer)
@Model.Address.AddressLine1
@Model.Address.AddressLine2
@Model.Address.Zip, @Model.Address.City
@CountryService.GetState(Model.Address.CountryCode, Model.Address.State).Name, @CountryService.GetCountry(Model.Address.CountryCode).Name
@Localizer["Common_Dogs"]
@foreach (var dog in dogs) {
@if (!string.IsNullOrWhiteSpace(dog.Photo)) { } else { }

@dog.Name

}