Beispiel #1
0
        public virtual IActor FindActorById(String actorId, Relations relations)
        {
            IActor    actor     = null;
            DbSession dbSession = null;

            try
            {
                dbSession = OpenSession();
                actor     = implementation.FindActorById(actorId, relations, dbSession);
            }
            catch (Exception t)
            {
                log.Error("error when finding actor by id " + actorId, t);
            }
            return(actor);
        }