public GiangVien GetById(string maGV) { if (string.IsNullOrEmpty(maGV)) { return(null); } try { GiangVien gv = contextGV.GetById(maGV); return(gv); } catch (Exception ex) { Console.WriteLine(ex); return(null); } }