public void DeleteSeller(UpdateSellerCommand updatedSellerCommand, int id) { var repo = new SellerRepository(); var deletedSeller = new Seller { Name = updatedSellerCommand.Name }; repo.DeleteSeller(deletedSeller, id); }