public async Task <ActionResult <bool> > Put(int id, [FromBody] ChangeLogSaveModel changeLog) { return(Ok(await changeLogSystemRepository.Update(id, changeLog))); }
public async Task <ActionResult <int> > Post([FromBody] ChangeLogSaveModel changeLog) { return(Ok(await changeLogSystemRepository.Add(changeLog))); }