public void CreatePropsalForHH(string houseHoldId, string name) { long proposalId = _proposalsRepository.CreateNewProposal(houseHoldId, name); Assert.True(proposalId > 0); }
public IActionResult Create(string houseHoldID, string proposalName) { return(Ok(_proposalsRepository.CreateNewProposal(houseHoldID, proposalName))); }