Beispiel #1
0
        public void TestUpdateTour()
        {
            DateTime a;
            string   b = "2018/08/05";

            a = Convert.ToDateTime(b);
            var tour = tourDAL.EditTour("s", "sng", "Di X", "Di", 10, a, 2, 10000, "Active");

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