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