public bool CheckUser(string nName, string nPass) { if (string.IsNullOrEmpty(nName) || string.IsNullOrEmpty(nPass)) { return(false); } else { return(dal.CheckUser(nName, nPass)); } }