20 lines
548 B
C#
20 lines
548 B
C#
using CompanyManagment.App.Contracts.CameraBugReport;
|
|
|
|
namespace ServiceHost.Areas.AdminNew.Pages.BugReport;
|
|
|
|
public class DetailsModel : BugReportPageModel
|
|
{
|
|
public DetailsModel(ICameraBugReportApplication bugReportApplication) : base(bugReportApplication)
|
|
{
|
|
}
|
|
|
|
public void OnGet(string id)
|
|
{
|
|
var guid = Guid.Parse(id);
|
|
BugReportDetails = GetBugReportDetails(guid);
|
|
if (BugReportDetails == null)
|
|
{
|
|
TempData["ErrorMessage"] = "گزارش خرابی یافت نشد";
|
|
}
|
|
}
|
|
} |