Exemplo n.º 1
0
        public void Update(KeHoachPhatHanh KeHoachPhatHanh)
        {
            string[] parameters = new string[5];

            parameters[0] = KeHoachPhatHanh.MaChiTietDotPhatHanh;
            parameters[1] = KeHoachPhatHanh.MaDotPhatHanh;
            parameters[2] = KeHoachPhatHanh.MaDoiTac;
            parameters[3] = KeHoachPhatHanh.MaLoaiVe;
            parameters[4] = KeHoachPhatHanh.SoVePhatHanh.ToString();
            this.KeHoachPhatHanhDAL.Update(parameters);
        }
Exemplo n.º 2
0
        public string Insert(KeHoachPhatHanh KeHoachPhatHanh)
        {
            string[] parameters = new string[5];

            parameters[0] = KeHoachPhatHanh.MaChiTietDotPhatHanh;
            parameters[1] = KeHoachPhatHanh.MaDotPhatHanh;
            parameters[2] = KeHoachPhatHanh.MaDoiTac;
            parameters[3] = KeHoachPhatHanh.MaLoaiVe;
            parameters[4] = KeHoachPhatHanh.SoVePhatHanh.ToString();
            return(this.KeHoachPhatHanhDAL.Insert(parameters));
        }