public IdentifiedString[] GetDivisions(int mModelYear) { var mDr = new DivisionsRequest { accountInfo = this.GetAccountInfo(), modelYear = mModelYear }; var temp = _vinService.getDivisions(mDr); if (temp != null && temp.division.Any()) { return(temp.division); } return(null); }
public Division[] getDivisions(int m_modelYear) { DivisionsRequest m_Dr = new DivisionsRequest(); m_Dr.accountInfo = this.getAccountInfo(); m_Dr.modelYear = m_modelYear; Division[] temp = vinService.getDivisions(m_Dr); if (temp != null && temp.Length != 0) { return(temp); } else { return(null); } }