Beispiel #1
0
        public async Task <AppCore.Result> AddFlowsAsync <T>(IEnumerable <mdl.Flow <T> > flows, AppCore.IActivityLog log)
        {
            try
            {
                //var result = (await _dbPBL.AddFlowsAsync(
                //    _flows: Newtonsoft.Json.JsonConvert.SerializeObject(flows),
                //    _log: log?.Value
                //    )).ToActionResult();

                //return result;

                return(AppCore.Result.Successful());
            }
            catch (Exception e)
            {
                throw e;
            }
        }
Beispiel #2
0
        public async Task <AppCore.Result> SetAsUnReadAsync(Guid documentID, Guid userPositionID, AppCore.IActivityLog log)
        {
            try
            {
                //var result = (await _dbPBL.SetFlowReadStateAsync(
                //    _documentID: documentID,
                //    _userPositionID: userPositionID,
                //    _isRead: false,
                //    _log: log?.Value
                //    )).ToActionResult();

                //return result;

                return(AppCore.Result.Successful());
            }
            catch (Exception e)
            {
                throw e;
            }
        }