/* * public Log GetById(long id) * { * return dal.GetById(id); * } * * public IEnumerable<Log> GetAll() * { * return dal.GetAll(); * }*/ public LogDTO GetById(long id) { return(dal.GetById(id)); }
/// <summary> /// Ejecuta metodo de la dal para obetener log by id /// </summary> /// <param name="id"></param> public Log Execute(int id) { return(logDAL.GetById(id)); }