示例#1
0
        public ActionResult GVille(RegisterViewModel model)
        {
            VilleService villeService = new VilleService(new EnglishBattle.data.EnglishBattleEntities());
            List <Ville> ville        = villeService.GetVilleList();

            return(View());
        }
示例#2
0
        protected void Page_Init(object sender, EventArgs e)
        {
            if (Request.IsAuthenticated)
            {
                Response.Redirect("Default.aspx", true);
                Context.ApplicationInstance.CompleteRequest();
            }

            _joueurService = new JoueurService();
            _villeService  = new VilleService();
        }
示例#3
0
 public RegionService(DemandeALutilisateur demandealutilisateur, DepartementService departementServices, VilleService communeService)
 {
     this._DemandeALutilisateur = demandealutilisateur;
     this._departementServices  = departementServices;
     this._VilleService         = communeService;
 }