public bool CheckUserName(string username) { try { if (CustomerAccessor.CheckUserName(username) == 1) { return(true); } } catch (Exception) { throw; } return(false); }