public static bool stopStep(Status status) { try { instance.UpdateStep(x => x.status = status); instance.UpdateStep(x => x.stage = Stage.finished); instance.StopStep(); return(true); } catch (Exception ex) { return(false); } }
public static bool stopStep(Status status) { try { instance.UpdateStep(x => x.status = status); instance.UpdateStep(x => x.stage = Stage.finished); instance.StopStep(); return(true); } catch (Exception ex) { return(false); } }