public Brand GetBrandByBrandID(string brandID) { var dal = new ProductsDAL(); DataTable dt = dal.GetBrandByBrandID(brandID); Brand model = new Brand(); if (dt.Rows.Count > 0) { model.FillData(dt.Rows[0]); model.City = CommonBusiness.Citys.Where(c => c.CityCode == model.CityCode).FirstOrDefault(); } return model; }