This is my code
@if
(Model.Product.Id != 0 && Model.Product.Id > 0)
{
title = "Edit Product";
}
and it will generate
System.NullReferenceException
HResult=0x80004003
Message=Object reference not set to an instance of an object.
Source=Emporium
StackTrace:
at AspNetCoreGeneratedDocument.Views_Product_Upsert.<>c__DisplayClass24_0.<
I am just new to this stuff and I do not what to do
Jignesh KumarPosted Jun 30, 2022, 6:44 AM
Danstan MorrePosted Jun 30, 2022, 7:03 AM