Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public int? SubBrandIndex
- {
- get
- {
- return _model.SubBrand == null ?
- (int?)null : Convert.ToInt32(_model.SubBrand);
- }
- }
- public int? SubBrandIndex
- {
- get
- {
- int? subBrandIndex = null;
- if (_model.SubBrand != null)
- subBrandIndex = int.Parse(_model.SubBrand);
- return subBrandIndex;
- }
- }
- public int? SubBrandIndex
- {
- get
- {
- int value;
- return int.TryParse(subBrand, out value) ? (int?)value : null;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement