예제 #1
0
        /// <summary>
        /// Get template manage model by log id
        /// </summary>
        /// <param name="logId"></param>
        /// <returns></returns>
        public TemplateManageModel GetTemplateManageModelByLogId(int?logId)
        {
            var log = _templateLogRepository.GetById(logId);

            return(log != null ? new TemplateManageModel(log) : new TemplateManageModel());
        }
예제 #2
0
 public TemplateLog GetById(object id)
 {
     return(_templateLogRepository.GetById(id));
 }