public bool CheckLoginUserName(string userName) { LoginRepo loginRepo = loginRepo = new LoginRepo(); return(loginRepo.TryUserName(userName)); }