EditSubcategory Method

TriCodeTest

MenuCreationController..::..EditSubcategory Method

Given a subcategory model object update the existing subcategory in the database with the new data

Namespace:  TriCodeTest.Controllers
Assembly:  TriCodeTest (in TriCodeTest.dll)

Syntax


[HttpPostAttribute]
public Task<ActionResult> EditSubcategory(
	Subcategory obj
)

Parameters

obj
Type: TriCodeTest.Models.MenuModels..::..Subcategory
Subcategory Model Object

Return Value

Returns true when object is updated in database