Sala33_FreebirdTech/Views/Servicos/UpdateMessageBoard.cshtml
@using FreebirdTech.ViewModels
@model MessageListViewModel
@*
    For more information on enabling MVC for empty projects, visit https://go.microsoft.com/fwlink/?LinkID=397860
*@
@{
}
<ul class="messages">
    @foreach (var item in Model.Messages)
    {
        if (item.Sender.Equals(Model.OwnerID))
        {
            <li class="self">@item.MessageText</li>
        }
        else
        {
            <li class="other">@item.MessageText</li>
        }
    }
</ul>