public void AddProductType(AddProductTypeRequest request)
        {
            ProductType model = new ProductType(request.Name);

            this._productTypeRepository.Add(model);
            this._uow.Commit();
        }
        public void UpdateProductType(AddProductTypeRequest request)
        {
            ProductType model = this._productTypeRepository.FindBy(request.Id);

            if (model == null)
            {
                throw new EntityIsInvalidException <string>(request.Id.ToString());
            }

            model.Name = request.Name;
            this._productTypeRepository.Save(model);
            this._uow.Commit();
        }