コード例 #1
0
        public ActionResult Supprimer(int id)
        {
            BlocageServiceAPI rsa = new BlocageServiceAPI();
            BlocageDetails    r   = new BlocageDetails(rsa.Donner(id));

            return(View(r));
        }
コード例 #2
0
        public ActionResult Modifier(int id)
        {
            BlocageServiceAPI   rs = new BlocageServiceAPI();
            BlocageModification r  = new BlocageModification(rs.Donner(id));

            return(View(r));
        }
コード例 #3
0
        public ActionResult Index()
        {
            BlocageServiceAPI          rs = new BlocageServiceAPI();
            IEnumerable <BlocageIndex> ri = rs.Donner().Select(j => new BlocageIndex(j));

            return(View(ri));
        }
コード例 #4
0
        public ActionResult Details(int id)
        {
            BlocageServiceAPI rsa = new BlocageServiceAPI();
            Blocage           r   = rsa.Donner(id);
            BlocageDetails    rd  = new BlocageDetails(r);

            return(View(rd));
        }