mirror of
https://github.com/guilhermewerner/gerencia-projetos
synced 2025-06-16 06:55:00 +00:00
Bugs Controller
This commit is contained in:
Binary file not shown.
Binary file not shown.
@ -9,11 +9,11 @@ using GerenciaContext = GerenciaProjetos.Data.GerenciaContext;
|
|||||||
|
|
||||||
namespace GerenciaProjetos.Controllers
|
namespace GerenciaProjetos.Controllers
|
||||||
{
|
{
|
||||||
public class DesenvolvedorsController : Controller
|
public class DesenvolvedoresController : Controller
|
||||||
{
|
{
|
||||||
private GerenciaContext ctx;
|
private GerenciaContext ctx;
|
||||||
|
|
||||||
public DesenvolvedorsController(GerenciaContext ctx)
|
public DesenvolvedoresController(GerenciaContext ctx)
|
||||||
{
|
{
|
||||||
this.ctx = ctx;
|
this.ctx = ctx;
|
||||||
}
|
}
|
||||||
|
@ -36,15 +36,15 @@
|
|||||||
@foreach (Bug b in ViewBag.Bugs)
|
@foreach (Bug b in ViewBag.Bugs)
|
||||||
{
|
{
|
||||||
<tr>
|
<tr>
|
||||||
<td>@b.DesenvolvedorId-@b.RequisitoId</td>
|
<td>@b.Id</td>
|
||||||
<td>@b.Criador</td>
|
<td>@b.CriadorId</td>
|
||||||
<td>@b.DataCadastro</td>
|
<td>@b.DataCadastro</td>
|
||||||
<td>@b.Prioridade</td>
|
<td>@b.Prioridade</td>
|
||||||
<td>
|
<td>
|
||||||
<a asp-area="" asp-controller="Bugs" asp-action="Edit" asp-route-id="@b.DesenvolvedorId, @b.RequisitoId">
|
<a asp-area="" asp-controller="Bugs" asp-action="Edit" asp-route-id="@b.Id">
|
||||||
<i class="fas fa-edit"></i>
|
<i class="fas fa-edit"></i>
|
||||||
</a>
|
</a>
|
||||||
<a asp-area="" asp-controller="Bugs" asp-action="Del" asp-route-id="@b.DesenvolvedorId, @b.RequisitoId">
|
<a asp-area="" asp-controller="Bugs" asp-action="Del" asp-route-id="@b.Id">
|
||||||
<i class="fas fa-trash"></i>
|
<i class="fas fa-trash"></i>
|
||||||
</a>
|
</a>
|
||||||
</td>
|
</td>
|
||||||
|
@ -192,15 +192,15 @@
|
|||||||
@foreach (Bug b in ViewBag.Bugs)
|
@foreach (Bug b in ViewBag.Bugs)
|
||||||
{
|
{
|
||||||
<tr>
|
<tr>
|
||||||
<td>@b.DesenvolvedorId-@b.RequisitoId</td>
|
<td>@b.Id</td>
|
||||||
<td>@b.Criador</td>
|
<td>@b.CriadorId</td>
|
||||||
<td>@b.DataCadastro</td>
|
<td>@b.DataCadastro</td>
|
||||||
<td>@b.Prioridade</td>
|
<td>@b.Prioridade</td>
|
||||||
<td>
|
<td>
|
||||||
<a asp-area="" asp-controller="Bugs" asp-action="Edit" asp-route-id="@b.DesenvolvedorId, @b.RequisitoId">
|
<a asp-area="" asp-controller="Bugs" asp-action="Edit" asp-route-id="@b.Id">
|
||||||
<i class="fas fa-edit"></i>
|
<i class="fas fa-edit"></i>
|
||||||
</a>
|
</a>
|
||||||
<a asp-area="" asp-controller="Bugs" asp-action="Del" asp-route-id="@b.DesenvolvedorId, @b.RequisitoId">
|
<a asp-area="" asp-controller="Bugs" asp-action="Del" asp-route-id="@b.Id">
|
||||||
<i class="fas fa-trash"></i>
|
<i class="fas fa-trash"></i>
|
||||||
</a>
|
</a>
|
||||||
</td>
|
</td>
|
||||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,4 +1,4 @@
|
|||||||
#pragma checksum "C:\Users\GuiNerd\source\repos\GerenciaProjetos\GerenciaProjetos\Views\Bugs\Index.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "e3f1888c36f6ea29ba67cb12fb6eb675cf7ecedc"
|
#pragma checksum "C:\Users\GuiNerd\source\repos\GerenciaProjetos\GerenciaProjetos\Views\Bugs\Index.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "6ba5c2dc561e89b14306df96ed5a5617599476e0"
|
||||||
// <auto-generated/>
|
// <auto-generated/>
|
||||||
#pragma warning disable 1591
|
#pragma warning disable 1591
|
||||||
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeof(AspNetCore.Views_Bugs_Index), @"mvc.1.0.view", @"/Views/Bugs/Index.cshtml")]
|
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeof(AspNetCore.Views_Bugs_Index), @"mvc.1.0.view", @"/Views/Bugs/Index.cshtml")]
|
||||||
@ -23,7 +23,7 @@ using GerenciaProjetos.Models;
|
|||||||
|
|
||||||
#line default
|
#line default
|
||||||
#line hidden
|
#line hidden
|
||||||
[global::Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute(@"SHA1", @"e3f1888c36f6ea29ba67cb12fb6eb675cf7ecedc", @"/Views/Bugs/Index.cshtml")]
|
[global::Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute(@"SHA1", @"6ba5c2dc561e89b14306df96ed5a5617599476e0", @"/Views/Bugs/Index.cshtml")]
|
||||||
[global::Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute(@"SHA1", @"4e94bb8cdb3ef35824e862096b8a713c8ba822eb", @"/Views/_ViewImports.cshtml")]
|
[global::Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute(@"SHA1", @"4e94bb8cdb3ef35824e862096b8a713c8ba822eb", @"/Views/_ViewImports.cshtml")]
|
||||||
public class Views_Bugs_Index : global::Microsoft.AspNetCore.Mvc.Razor.RazorPage<dynamic>
|
public class Views_Bugs_Index : global::Microsoft.AspNetCore.Mvc.Razor.RazorPage<dynamic>
|
||||||
{
|
{
|
||||||
@ -89,7 +89,7 @@ Write(ViewData["Title"]);
|
|||||||
");
|
");
|
||||||
EndContext();
|
EndContext();
|
||||||
BeginContext(433, 148, false);
|
BeginContext(433, 148, false);
|
||||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "e3f1888c36f6ea29ba67cb12fb6eb675cf7ecedc5683", async() => {
|
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "6ba5c2dc561e89b14306df96ed5a5617599476e05683", async() => {
|
||||||
BeginContext(487, 90, true);
|
BeginContext(487, 90, true);
|
||||||
WriteLiteral("\r\n <i class=\"fas fa-plus-circle\"></i>\r\n ");
|
WriteLiteral("\r\n <i class=\"fas fa-plus-circle\"></i>\r\n ");
|
||||||
EndContext();
|
EndContext();
|
||||||
@ -139,59 +139,59 @@ Write(ViewData["Title"]);
|
|||||||
BeginContext(1186, 54, true);
|
BeginContext(1186, 54, true);
|
||||||
WriteLiteral(" <tr>\r\n <td>");
|
WriteLiteral(" <tr>\r\n <td>");
|
||||||
EndContext();
|
EndContext();
|
||||||
BeginContext(1241, 17, false);
|
BeginContext(1241, 4, false);
|
||||||
#line 39 "C:\Users\GuiNerd\source\repos\GerenciaProjetos\GerenciaProjetos\Views\Bugs\Index.cshtml"
|
#line 39 "C:\Users\GuiNerd\source\repos\GerenciaProjetos\GerenciaProjetos\Views\Bugs\Index.cshtml"
|
||||||
Write(b.DesenvolvedorId);
|
Write(b.Id);
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
#line hidden
|
#line hidden
|
||||||
EndContext();
|
EndContext();
|
||||||
BeginContext(1258, 1, true);
|
BeginContext(1245, 35, true);
|
||||||
WriteLiteral("-");
|
|
||||||
EndContext();
|
|
||||||
BeginContext(1260, 13, false);
|
|
||||||
#line 39 "C:\Users\GuiNerd\source\repos\GerenciaProjetos\GerenciaProjetos\Views\Bugs\Index.cshtml"
|
|
||||||
Write(b.RequisitoId);
|
|
||||||
|
|
||||||
#line default
|
|
||||||
#line hidden
|
|
||||||
EndContext();
|
|
||||||
BeginContext(1273, 35, true);
|
|
||||||
WriteLiteral("</td>\r\n <td>");
|
WriteLiteral("</td>\r\n <td>");
|
||||||
EndContext();
|
EndContext();
|
||||||
BeginContext(1309, 9, false);
|
BeginContext(1281, 11, false);
|
||||||
#line 40 "C:\Users\GuiNerd\source\repos\GerenciaProjetos\GerenciaProjetos\Views\Bugs\Index.cshtml"
|
#line 40 "C:\Users\GuiNerd\source\repos\GerenciaProjetos\GerenciaProjetos\Views\Bugs\Index.cshtml"
|
||||||
Write(b.Criador);
|
Write(b.CriadorId);
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
#line hidden
|
#line hidden
|
||||||
EndContext();
|
EndContext();
|
||||||
BeginContext(1318, 35, true);
|
BeginContext(1292, 35, true);
|
||||||
WriteLiteral("</td>\r\n <td>");
|
WriteLiteral("</td>\r\n <td>");
|
||||||
EndContext();
|
EndContext();
|
||||||
BeginContext(1354, 14, false);
|
BeginContext(1328, 14, false);
|
||||||
#line 41 "C:\Users\GuiNerd\source\repos\GerenciaProjetos\GerenciaProjetos\Views\Bugs\Index.cshtml"
|
#line 41 "C:\Users\GuiNerd\source\repos\GerenciaProjetos\GerenciaProjetos\Views\Bugs\Index.cshtml"
|
||||||
Write(b.DataCadastro);
|
Write(b.DataCadastro);
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
#line hidden
|
#line hidden
|
||||||
EndContext();
|
EndContext();
|
||||||
BeginContext(1368, 35, true);
|
BeginContext(1342, 35, true);
|
||||||
WriteLiteral("</td>\r\n <td>");
|
WriteLiteral("</td>\r\n <td>");
|
||||||
EndContext();
|
EndContext();
|
||||||
BeginContext(1404, 12, false);
|
BeginContext(1378, 12, false);
|
||||||
#line 42 "C:\Users\GuiNerd\source\repos\GerenciaProjetos\GerenciaProjetos\Views\Bugs\Index.cshtml"
|
#line 42 "C:\Users\GuiNerd\source\repos\GerenciaProjetos\GerenciaProjetos\Views\Bugs\Index.cshtml"
|
||||||
Write(b.Prioridade);
|
Write(b.Prioridade);
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
#line hidden
|
#line hidden
|
||||||
EndContext();
|
EndContext();
|
||||||
BeginContext(1416, 65, true);
|
BeginContext(1390, 35, true);
|
||||||
|
WriteLiteral("</td>\r\n <td>");
|
||||||
|
EndContext();
|
||||||
|
BeginContext(1426, 14, false);
|
||||||
|
#line 43 "C:\Users\GuiNerd\source\repos\GerenciaProjetos\GerenciaProjetos\Views\Bugs\Index.cshtml"
|
||||||
|
Write(b.FoiResolvido);
|
||||||
|
|
||||||
|
#line default
|
||||||
|
#line hidden
|
||||||
|
EndContext();
|
||||||
|
BeginContext(1440, 65, true);
|
||||||
WriteLiteral("</td>\r\n <td>\r\n ");
|
WriteLiteral("</td>\r\n <td>\r\n ");
|
||||||
EndContext();
|
EndContext();
|
||||||
BeginContext(1481, 200, false);
|
BeginContext(1505, 171, false);
|
||||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "e3f1888c36f6ea29ba67cb12fb6eb675cf7ecedc10400", async() => {
|
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "6ba5c2dc561e89b14306df96ed5a5617599476e010408", async() => {
|
||||||
BeginContext(1586, 91, true);
|
BeginContext(1581, 91, true);
|
||||||
WriteLiteral("\r\n <i class=\"fas fa-edit\"></i>\r\n ");
|
WriteLiteral("\r\n <i class=\"fas fa-edit\"></i>\r\n ");
|
||||||
EndContext();
|
EndContext();
|
||||||
}
|
}
|
||||||
@ -209,14 +209,8 @@ Write(ViewData["Title"]);
|
|||||||
throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-id", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues"));
|
throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-id", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues"));
|
||||||
}
|
}
|
||||||
BeginWriteTagHelperAttribute();
|
BeginWriteTagHelperAttribute();
|
||||||
#line 44 "C:\Users\GuiNerd\source\repos\GerenciaProjetos\GerenciaProjetos\Views\Bugs\Index.cshtml"
|
#line 45 "C:\Users\GuiNerd\source\repos\GerenciaProjetos\GerenciaProjetos\Views\Bugs\Index.cshtml"
|
||||||
WriteLiteral(b.DesenvolvedorId);
|
WriteLiteral(b.Id);
|
||||||
|
|
||||||
#line default
|
|
||||||
#line hidden
|
|
||||||
WriteLiteral(", ");
|
|
||||||
#line 44 "C:\Users\GuiNerd\source\repos\GerenciaProjetos\GerenciaProjetos\Views\Bugs\Index.cshtml"
|
|
||||||
WriteLiteral(b.RequisitoId);
|
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
#line hidden
|
#line hidden
|
||||||
@ -231,12 +225,12 @@ Write(ViewData["Title"]);
|
|||||||
Write(__tagHelperExecutionContext.Output);
|
Write(__tagHelperExecutionContext.Output);
|
||||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||||
EndContext();
|
EndContext();
|
||||||
BeginContext(1681, 30, true);
|
BeginContext(1676, 30, true);
|
||||||
WriteLiteral("\r\n ");
|
WriteLiteral("\r\n ");
|
||||||
EndContext();
|
EndContext();
|
||||||
BeginContext(1711, 200, false);
|
BeginContext(1706, 171, false);
|
||||||
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "e3f1888c36f6ea29ba67cb12fb6eb675cf7ecedc13620", async() => {
|
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "6ba5c2dc561e89b14306df96ed5a5617599476e013316", async() => {
|
||||||
BeginContext(1815, 92, true);
|
BeginContext(1781, 92, true);
|
||||||
WriteLiteral("\r\n <i class=\"fas fa-trash\"></i>\r\n ");
|
WriteLiteral("\r\n <i class=\"fas fa-trash\"></i>\r\n ");
|
||||||
EndContext();
|
EndContext();
|
||||||
}
|
}
|
||||||
@ -254,14 +248,8 @@ Write(ViewData["Title"]);
|
|||||||
throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-id", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues"));
|
throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-id", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues"));
|
||||||
}
|
}
|
||||||
BeginWriteTagHelperAttribute();
|
BeginWriteTagHelperAttribute();
|
||||||
#line 47 "C:\Users\GuiNerd\source\repos\GerenciaProjetos\GerenciaProjetos\Views\Bugs\Index.cshtml"
|
#line 48 "C:\Users\GuiNerd\source\repos\GerenciaProjetos\GerenciaProjetos\Views\Bugs\Index.cshtml"
|
||||||
WriteLiteral(b.DesenvolvedorId);
|
WriteLiteral(b.Id);
|
||||||
|
|
||||||
#line default
|
|
||||||
#line hidden
|
|
||||||
WriteLiteral(", ");
|
|
||||||
#line 47 "C:\Users\GuiNerd\source\repos\GerenciaProjetos\GerenciaProjetos\Views\Bugs\Index.cshtml"
|
|
||||||
WriteLiteral(b.RequisitoId);
|
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
#line hidden
|
#line hidden
|
||||||
@ -276,15 +264,15 @@ Write(ViewData["Title"]);
|
|||||||
Write(__tagHelperExecutionContext.Output);
|
Write(__tagHelperExecutionContext.Output);
|
||||||
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
__tagHelperExecutionContext = __tagHelperScopeManager.End();
|
||||||
EndContext();
|
EndContext();
|
||||||
BeginContext(1911, 60, true);
|
BeginContext(1877, 60, true);
|
||||||
WriteLiteral("\r\n </td>\r\n </tr>\r\n");
|
WriteLiteral("\r\n </td>\r\n </tr>\r\n");
|
||||||
EndContext();
|
EndContext();
|
||||||
#line 52 "C:\Users\GuiNerd\source\repos\GerenciaProjetos\GerenciaProjetos\Views\Bugs\Index.cshtml"
|
#line 53 "C:\Users\GuiNerd\source\repos\GerenciaProjetos\GerenciaProjetos\Views\Bugs\Index.cshtml"
|
||||||
}
|
}
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
#line hidden
|
#line hidden
|
||||||
BeginContext(1990, 62, true);
|
BeginContext(1956, 62, true);
|
||||||
WriteLiteral(" </tbody>\r\n </table>\r\n </div>\r\n</section>");
|
WriteLiteral(" </tbody>\r\n </table>\r\n </div>\r\n</section>");
|
||||||
EndContext();
|
EndContext();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user