public virtual List <THistoryResponse> HistoryWebMethod(HistoryRequest <THistoryKey> Operation) { var ret = default(List <THistoryResponse>); if (CanHistory(Operation)) { var Value = History(Operation); var mapped = Mapper.Instance.MapList <THistoryResponse>(Value); ret = mapped; } return(ret); }
protected override IList History(HistoryRequest <InstanceIdParameters> Operation) { return(DataController.History(Operation.Key.InstanceId).ToList()); }
protected abstract IList History(HistoryRequest <THistoryKey> Operation);
protected virtual bool CanHistory(HistoryRequest <THistoryKey> Operation) { return(true); }