public BE.Fixture ObtnerFixturePorId(int idFixture) { BLL.Fecha bllFecha = new BLL.Fecha(); BE.Fixture beFixture = _dalManagerFixture.ObtenerFixturePorId(idFixture); beFixture.Fechas = bllFecha.ObtenerFechasPorIdFixture(beFixture.Id); return(beFixture); }
/// <summary> /// Obtiene todos los Fixtures. /// </summary> /// <returns></returns> public List <BE.Fixture> ObtenerFixtures() { BLL.Fecha bllFecha = new BLL.Fecha(); List <BE.Fixture> lstFixtures = _dalManagerFixture.Leer(); foreach (BE.Fixture beFixture in lstFixtures) { beFixture.Fechas = bllFecha.ObtenerFechasPorIdFixture(beFixture.Id); } return(lstFixtures); }