public void TestMethod1() { LogDAL dal = new LogDAL(); Log log = new Log { Thread = "1", Exception = "Test", Description = "test", Time = DateTime.Now }; int result = dal.Insert(log); Console.WriteLine(result); }
/// <summary> /// Ejecuta método de DAL para inserta un log en la base /// </summary> /// <param name="log">Entidad Log</param> public void Execute(Log log) { logDAL.Insert(log); }