public DetailService(IDetailRepository _repository, IDetailMainRepository _repositoryDetailMain,
                      IDetailSubRepository _repositoryDetailSub, IAssetDetailRepository _repositoryAssetDetail,
                      IProductDetailRepository _repositoryProductDetail, IProductTypeRepository _repositoryProductType)
 {
     repository              = _repository;
     repositoryDetailMain    = _repositoryDetailMain;
     repositoryDetailSub     = _repositoryDetailSub;
     repositoryAssetDetail   = _repositoryAssetDetail;
     repositoryProductDetail = _repositoryProductDetail;
     repositoryProductType   = _repositoryProductType;
 }
 public DetailMainService(IDetailMainRepository _repository, IDetailRepository _repositoryDetail)
 {
     repository       = _repository;
     repositoryDetail = _repositoryDetail;
 }