public async Task <ActionResult> Post([FromBody] TModel entity) { return(await base.HandlePost(entity, (id) => _repository.Exists(id), (model) => _repository.Add(model))); }
public void SaveRant(Rant rant) { _readWriteRepository.Add(rant); }
public void Add(VirtualMachine virtualMachine) { _virtualMachineRepository.Add(virtualMachine); }