public async Task <CustomerProfileErrorCodes> CreateIfNotExistAsync([FromBody] CustomerProfileRequestModel customerProfile) { var result = await _customerProfileService.CreateIfNotExistsAsync(_mapper.Map <CustomerProfileModel>(customerProfile)); return(_mapper.Map <CustomerProfileErrorCodes>(result)); }