public async Task <IActionResult> Delete(long id) { try { await _supplierManager.Delete(id); return(Json(new { Result = true })); } catch (Exception ex) { return(Json(new { Result = false, Message = ex.Message })); } }
public async Task <IActionResult> Delete(long id) { try { await _supplierManager.Delete(id); return(Json(new { Result = true })); } catch (Exception ex) { return(Json(new { Result = false, Message = ex.Message })); } }