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

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