public void UpdateProduct(ProductBacklog product) { unitOfWork.ProductRepository.Update(product); unitOfWork.SaveChanges(); }
public void CreateProduct(ProductBacklog productBacklog) { unitOfWork.ProductRepository.Insert(productBacklog); unitOfWork.SaveChanges(); }