public List<int> GetCompanyIds(List<string> companies) { SecurityRepository secRep = new SecurityRepository(); List<int> ReturnList = new List<int>(); foreach (string company in companies) { ReturnList.Add(secRep.GetCompanyId(company)); } return ReturnList; }
public List <int> GetCompanyIds(List <string> companies) { SecurityRepository secRep = new SecurityRepository(); List <int> ReturnList = new List <int>(); foreach (string company in companies) { ReturnList.Add(secRep.GetCompanyId(company)); } return(ReturnList); }
public int GetUserNo(string Username) { SecurityRepository secRep = new SecurityRepository(); return secRep.GetUserNo(Username); }
public int GetUserNo(string Username) { SecurityRepository secRep = new SecurityRepository(); return(secRep.GetUserNo(Username)); }