예제 #1
0
        public bool CapNhatPhanQuyen(int tk_ID, string chucVu)
        {
            bool flag = false;

            try
            {
                model.Authorize_Update_Sang(tk_ID, chucVu);
                model.SaveChanges();
                flag = true;
            }
            catch
            {
                flag = false;
            }
            return(flag);
        }