/// <summary> /// Validate User Account /// </summary> /// <param name="security"></param> /// <param name="ProgramCode"></param> /// <param name="Domainname"></param> /// <param name="userId"></param> /// <param name="password"></param> /// <returns></returns> public AccountModal validateUser(ISecurity security, string ProgramCode, string Domainname, string userId, string password) { _SecurityRepository = security; return(_SecurityRepository.AuthenticateUser(ProgramCode, Domainname, userId, password)); }