MenuCreationController..::..RemoveSubcategory Method
Removes a subcategory from the database given that subcategories Id.
Returns true when completed.
Namespace:
TriCodeTest.Controllers
Assembly:
TriCodeTest (in TriCodeTest.dll)
Syntax
[HttpPostAttribute] public Task<ActionResult> RemoveSubcategory( int id )
Parameters
- id
- Type: Int32
The id of the subcategory to remove.