public static void AddLog(SysLog log) { ISysLogService service = IoC.Resolve <ISysLogService>(); service.Create(log); service.Save(); }