public async Task <Registration.OutModel> Registration([FromBody] Registration.InModel inModel) { RegistrationValidator validationRules = new RegistrationValidator(); await validationRules.ValidateAndThrowAsync(inModel); return(await _iAccessControlService.Registration(inModel)); }