public static int WMCancelOrder(long SelectedOrder) { iPartRequestClient objServie = new iPartRequestClient(); CustomProfile profile = CustomProfile.GetProfile(); long UserID = profile.Personal.UserID; int result = objServie.CancelSelectedOrder(SelectedOrder, UserID, profile.DBConnection._constr); return(result); }