@* 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; DogWalkerProfileVm profile = null; if (ViewBag.Profile != null) { profile = ViewBag.Profile as DogWalkerProfileVm; } }
@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
@if (profile != null) {
@annotationsLocalizer["DogWalkerProfile_About"]
@annotationsLocalizer["DogWalkerProfile_NotAvailableInfo"]
}