public async Task <Planes> BuscarPlan(Planes planParaBuscar) { using (SportsGoEntities context = new SportsGoEntities(false)) { PlanesRepository planRepository = new PlanesRepository(context); Planes planExistente = await planRepository.BuscarPlan(planParaBuscar); return(planExistente); } }