public void FetchByTypeTest() { var x = VolDAO.FetchByType("Entrant", "2018-08-23"); Console.Write(x[1].Destination); Assert.Fail(); }
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); }