< Summary

Information
Class: AspNetCoreGeneratedDocument.Areas_Studio2_Views_ExcludedArticles_Delete
Assembly: OzonOrdersWeb
File(s): /home/runner/work/Studio2Prod/Studio2Prod/OzonOrdersWeb/Areas/Studio2/Views/ExcludedArticles/Delete.cshtml
Line coverage
0%
Covered lines: 0
Uncovered lines: 4
Coverable lines: 4
Total lines: 21
Line coverage: 0%
Branch coverage
0%
Covered branches: 0
Total branches: 4
Branch coverage: 0%
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
ExecuteAsync()0%2040%

File(s)

/home/runner/work/Studio2Prod/Studio2Prod/OzonOrdersWeb/Areas/Studio2/Views/ExcludedArticles/Delete.cshtml

#LineLine coverage
 1@model OzonDomains.Models.ExcludedArticle
 2
 3@{
 04    ViewData["Title"] = "Удаление артикула";
 5}
 6
 07@await Html.PartialAsync("_BsxGridShell")
 8
 9<div class="container py-3 bsx-surface">
 010<h2>@ViewData["Title"]</h2>
 11
 12<div class="alert alert-danger">
 013    Вы уверены, что хотите удалить артикул <strong>@Model.Article</strong> для клиента <strong>@Model.OzonClient?.Name</
 14</div>
 15
 16<form asp-area="Studio2" asp-controller="ExcludedArticles" asp-action="Delete" method="post">
 17    <input type="hidden" asp-for="Id" />
 18    <button type="submit" class="btn btn-danger">Удалить</button>
 19    <a asp-action="Index" class="btn btn-secondary">Отмена</a>
 20</form>
 21</div>

Methods/Properties

ExecuteAsync()