public IActionResult Post(int customerId, [FromBody] CustomerDto dto) { dto.Id = customerId; var cust = DtoConverter.DtoToCustomer(dto); _dao.Upsert(cust); return(this.Ok()); }