mirror of
https://github.com/claunia/marechai.git
synced 2025-12-16 19:14:25 +00:00
Move model names to singular.
This commit is contained in:
@@ -31,15 +31,15 @@
|
||||
|
||||
ViewData["Title"] = "Companies";
|
||||
}
|
||||
@using Cicm.Database.Models
|
||||
@model Cicm.Database.Models.Companies[]
|
||||
@using Company = Cicm.Database.Models.Company
|
||||
@model Cicm.Database.Models.Company[]
|
||||
|
||||
<p align="center">
|
||||
@if(Model.Any())
|
||||
{
|
||||
<p>
|
||||
@Model.Count() companies found in the database.<br />
|
||||
@foreach(Companies company in Model)
|
||||
@foreach(Company company in Model)
|
||||
{
|
||||
<a asp-controller="Company"
|
||||
asp-action="View"
|
||||
|
||||
Reference in New Issue
Block a user