Esempio n. 1
0
        public void deleteSach()
        {
            //SACH sach = repository.getSach(view.selectedSach);
            string masach = view.selectedSach;

            if (masach != "")
            {
                SACH sach = repository.getSach(masach);
                //view.Log(sach.MASACH);
                if (valid(sach))
                {
                    SACH kq = repository.deleteSach(masach);

                    //view.Log("Đã lưu thành công");
                    getListSach();
                }
            }
        }