public List <city> getCity(int stateId) { List <city> objCity = new List <city>(); try { objCity = objUserInfoDAL.getCity(stateId); } catch (Exception ex) { CubitExceptionUtility.CubitExceptionLog(ex.Message + "BAL: Error while calling List of cities in to the UserInfoDAL" + ex.StackTrace + " " + ex.InnerException, this.GetType().BaseType.Name.ToString(), DateTime.Now.ToLongTimeString(), DateTime.Now.ToLongDateString()); } return(objCity); }