示例#1
0
        public void FetchByTypeTest()
        {
            var x = VolDAO.FetchByType("Entrant", "2018-08-23");

            Console.Write(x[1].Destination);
            Assert.Fail();
        }
示例#2
0
        public ActionResult Sortant(string jour)
        {
            List <Vol> t = VolDAO.FetchByType("Sortant", jour);


            return(PartialView("_Entrant", t));
        }
        public string GetVols(string jour, string typevol)
        {
            DataSet    t     = VolDAO.FetchByType(typevol, jour);
            List <Vol> liste = Vol.LoadFromDataSet(t);
            string     json  = JsonConvert.SerializeObject(liste);

            return(json);
        }