@model LittleShop.DTOs.MessageThreadDto @{ ViewData["Title"] = $"Conversation with {Model.CustomerName}"; } @{ // Get customer info if name is not loaded if (Model.CustomerName == "Loading...") { // This would need to be loaded via a service call Model.CustomerName = "Customer"; // Fallback } }
This is the start of your conversation with @Model.CustomerName.
Send a message below to begin the conversation.
Name: @Model.CustomerName
Messages: @Model.MessageCount
First Contact: @Model.StartedAt.ToString("MMM dd, yyyy HH:mm")
Last Message: @Model.LastMessageAt.ToString("MMM dd, yyyy HH:mm")
@if (Model.HasUnreadMessages) {