got Abstraction
parent
ca9af3f5a0
commit
6fe0dad775
@ -0,0 +1,16 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net7.0</TargetFramework>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="System.ComponentModel.DataAnnotations" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
@ -1,62 +0,0 @@
|
||||
{
|
||||
"version": "1.0.8-*",
|
||||
"title": "Yavsc - l'abstrait",
|
||||
"description": "Yavsc common objects",
|
||||
"authors": [
|
||||
"Paul Schneider <paul@pschneider.fr>"
|
||||
],
|
||||
"packOptions": {
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/pazof/yavsc"
|
||||
},
|
||||
"licenseUrl": "https://github.com/pazof/yavsc/blob/vnext/LICENSE",
|
||||
"requireLicenseAcceptance": true,
|
||||
"owners": [
|
||||
"Paul Schneider <paul@pschneider.fr>"
|
||||
],
|
||||
"summary": "Yet another very small company",
|
||||
"projectUrl": "http://yavsc.pschneider.fr",
|
||||
"tags": [
|
||||
"Blog",
|
||||
"PoS",
|
||||
"Chat"
|
||||
]
|
||||
},
|
||||
"buildOptions": {
|
||||
"nowarn": ["IDE1006"]
|
||||
},
|
||||
"tooling": {
|
||||
"defaultNamespace": "Yavsc"
|
||||
},
|
||||
"dependencies": {
|
||||
"Newtonsoft.Json": "7.0.1"
|
||||
},
|
||||
"frameworks": {
|
||||
"dnx451": {
|
||||
"frameworkAssemblies": {
|
||||
"System.ComponentModel.DataAnnotations": "4.0.0"
|
||||
}
|
||||
},
|
||||
"net46": {
|
||||
"frameworkAssemblies": {
|
||||
"System.ComponentModel.DataAnnotations": "4.0.0"
|
||||
}
|
||||
},
|
||||
"net461": {
|
||||
"frameworkAssemblies": {
|
||||
"System.ComponentModel.DataAnnotations": "4.0.0"
|
||||
}
|
||||
},
|
||||
"net452": {
|
||||
"frameworkAssemblies": {
|
||||
"System.ComponentModel.DataAnnotations": "4.0.0"
|
||||
}
|
||||
},
|
||||
"net451": {
|
||||
"frameworkAssemblies": {
|
||||
"System.ComponentModel.DataAnnotations": "4.0.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,53 @@
|
||||
@model IEnumerable<Yavsc.Models.IT.Fixing.Bug>
|
||||
@inject IStringLocalizer<Yavsc.Models.IT.Fixing.Resources> SRR
|
||||
|
||||
@{
|
||||
ViewData["Title"] = @SR["DeleteAllLike"];
|
||||
}
|
||||
|
||||
<h2>@SR["Index"]</h2>
|
||||
|
||||
<p>
|
||||
<a asp-action="Create">@SR["Create New"]</a>
|
||||
</p>
|
||||
|
||||
<table class="table">
|
||||
<tr>
|
||||
<td>
|
||||
@SR[Html.DisplayNameFor(model => model.Id)]
|
||||
</td>
|
||||
<td>
|
||||
@SR[Html.DisplayNameFor(model => model.Title)]
|
||||
</td>
|
||||
<th>
|
||||
@SR[Html.DisplayNameFor(model => model.FeatureId)]
|
||||
</th>
|
||||
<th>
|
||||
@SR[Html.DisplayNameFor(model => model.Status)]
|
||||
</th>
|
||||
<th></th>
|
||||
</tr>
|
||||
|
||||
@foreach (var item in Model) {
|
||||
<tr>
|
||||
<td>
|
||||
@Html.DisplayFor(model => item.Id)
|
||||
</td>
|
||||
<td>
|
||||
@Html.DisplayFor(model => item.Title)
|
||||
</td>
|
||||
<td>
|
||||
@Html.DisplayFor(modelItem => item.FeatureId)
|
||||
</td>
|
||||
<td>
|
||||
|
||||
@SRR[typeof(Yavsc.Models.IT.Fixing.BugStatus).GetEnumNames()[(int)item.Status]]
|
||||
</td>
|
||||
<td>
|
||||
<a asp-action="Edit" asp-route-id="@item.Id">@SR["Edit"]</a> |
|
||||
<a asp-action="Details" asp-route-id="@item.Id">@SR["Details"]</a> |
|
||||
<a asp-action="DeleteAllLike" asp-route-id="@item.Id">@SR["Delete"]</a>
|
||||
</td>
|
||||
</tr>
|
||||
}
|
||||
</table>
|
Loading…
Reference in New Issue