public IList <ProductGroupBean> GetAllProductGroup() { IList <ProductGroupBean> result = new List <ProductGroupBean>(); try { result = BeanUtil.ConvertToList <ProductGroup, ProductGroupBean>(_productGroupRepo.FindAllProducts()); } catch (Exception e) { throw new Exception("Error when get manufacture"); } return(result); }