public void Log(string title, string description, int type, int userId) { var logInfo = new LogInfo { Title = title, Description = description, UserId = userId, Type = type }; _logApplication.AddLog(logInfo); }