Пример #1
0
 public void Add(Proposal obj)
 {
     _proposalRepository.Add(obj);
     _commitProvider.Commit(string.Empty);
 }
Пример #2
0
 public IHttpActionResult Commit([FromBody] CommitParams commitParams)
 {
     _commitProvider.Commit(commitParams.Message, null);
     return(Ok());
 }