public async Task <IActionResult> Delete([FromRoute] string id) { manager.Delete(id); return(Ok()); }
public ActionResult Delete(int id) { return(GetStatusCodeResult(_productsManager.Delete(id, GetCurrentUser()))); }