public ExcutionResult GetAll() { ExcutionResult result = new ExcutionResult(); try { var param = ScheduleManager.GetAll(); result.Data = param; } catch (Exception e) { result.ErrorCode = 1; result.Message = e.Message; } return(result); }
public ExcutionResult GetAll() { ExcutionResult result = new ExcutionResult(); try { var param = ScheduleManager.GetAll(); result.Data = param; } catch (Exception e) { result.ErrorCode = 1; result.Message = e.Message; } return(result); }