Feature/respect encapsulation (#349)
* resolve osbsolete method * put all properties as private, align unit test * fix version of version in MD, add instruction to install ef tool * fix url stored
This commit is contained in:
@@ -21,7 +21,7 @@ namespace Microsoft.eShopWeb.Web.Pages.Admin
|
||||
[BindProperty]
|
||||
public CatalogItemViewModel CatalogModel { get; set; } = new CatalogItemViewModel();
|
||||
|
||||
public async Task OnGet(CatalogItemViewModel catalogModel)
|
||||
public void OnGet(CatalogItemViewModel catalogModel)
|
||||
{
|
||||
CatalogModel = catalogModel;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user