예제 #1
0
        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);
            }
        }