public IHttpActionResult Put([FromUri] int id, [FromBody] KeyGeneratorDTO KeyGenerator) { KeyGeneratorService.PrePutDTO(ModelState, currentClient, id, KeyGenerator); return(Ok()); }
public KeyGeneratorDTO Post([FromBody] KeyGeneratorDTO KeyGenerator) { return(KeyGeneratorService.PrePostDTO(ModelState, currentClient, KeyGenerator)); }