예제 #1
0
        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);
        }
예제 #2
0
 protected override IList History(HistoryRequest <InstanceIdParameters> Operation)
 {
     return(DataController.History(Operation.Key.InstanceId).ToList());
 }
예제 #3
0
 protected abstract IList History(HistoryRequest <THistoryKey> Operation);
예제 #4
0
 protected virtual bool CanHistory(HistoryRequest <THistoryKey> Operation)
 {
     return(true);
 }