示例#1
0
        public async Task <IActionResult> Delete([FromRoute] string id)
        {
            manager.Delete(id);

            return(Ok());
        }
示例#2
0
 public ActionResult Delete(int id)
 {
     return(GetStatusCodeResult(_productsManager.Delete(id, GetCurrentUser())));
 }