Ejemplo n.º 1
0
 /// <summary>
 /// return true if the username exists
 /// else false
 /// </summary>
 /// <param name="userName"></param>
 /// <returns></returns>
 public bool IsExistedUsername(string userName)
 {
     try
     {
         NhanVienAccess nvAc = new NhanVienAccess();
         return(nvAc.IsExistedUsername(userName));
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }