public bool UpdateStock(uint id, int stock, string description) { bool success; try { success = ProductsProvider.UpdateStock(id, stock, description); } catch { success = false; } return(success); }
public bool UpdateStock(uint id, int stock, string description) { bool success; try { success = ProductsProvider.UpdateStock(id, stock, description); } catch { success = false; } return(success); }