public void TestInsertTour()
        {
            DateTime a;
            string   b = "2018/07/05";

            a = Convert.ToDateTime(b);
            var tour = tourDAL.InsertTour("kk", "Ha Long Bay", "Di Xa Lam", "Di xa", 2, a, 10, 1000, "Active");

            Assert.IsTrue(tour);
        }
Exemple #2
0
 public bool InsertTour(string id, string name, string mota, string ghichu, int songay, DateTime ngaydi, int khuyenmai, int gia, string trangthai)
 {
     return(tourDAL.InsertTour(id, name, mota, ghichu, songay, ngaydi, khuyenmai, gia, trangthai));
 }