public ActionResult Post([FromBody] ContractRegisterDto contractRegisterDto)
        {
            if (!ModelState.IsValid)
            {
                return(BadRequest(ModelState));
            }

            var contract = _mapper.Map <Contract>(contractRegisterDto);

            _contractRepository.AddContractRegister(contract);

            var key = contract.ContractNr.Replace(" ", "-").ToLower();

            return(Created("api/register-contract/" + key, null));
        }