public static void UpdateLengthValueById(int id, double newValue) { Shared.SQLDatabaseConnetion connection = new Shared.SQLDatabaseConnetion(); connection.Update(String.Format(Shared.RequestConsts.Update.Fabric.updateLenghtByIdRequest, newValue, id)); }
public static void UpdateNumberOfOders(int id, int newValue) { Shared.SQLDatabaseConnetion connection = new Shared.SQLDatabaseConnetion(); connection.Update(String.Format(Shared.RequestConsts.Update.Cutter.updateNumOfOrdersByIdRequest, newValue, id)); }