public void Add(Proposal obj) { _proposalRepository.Add(obj); _commitProvider.Commit(string.Empty); }
public IHttpActionResult Commit([FromBody] CommitParams commitParams) { _commitProvider.Commit(commitParams.Message, null); return(Ok()); }