Esempio n. 1
0
        /// <summary>
        /// Get Action Log by Id
        /// </summary>
        /// <param name="id">The Id</param>
        /// <returns></returns>
        public ActionLog GetById(int id)
        {
            var result = _actionLog.One(LogQuery.WithIdAct(id));

            if (result == null)
            {
                throw new Exception("No records");
            }
            return(result);
        }