public string GetUnitCode(string fullName, string name) { string text = string.Empty; List <string> listUnitCodeByName = this.GetListUnitCodeByName(name); foreach (string text2 in listUnitCodeByName) { if (fullName.Equals(SystemRule.GetUnitFullName(text2))) { return(text2); } } return(text); }
public string GetUnitFullName(string unitCode) { return(SystemRule.GetUnitFullName(unitCode)); }