public async Task <IActionResult> PutIdentityTypes(int id, IdentityTypes identityTypes)
        {
            if (id != identityTypes.IdentityTypeId)
            {
                return(BadRequest());
            }

            var response = await _db.UpdateIdentityType(id, identityTypes);

            return(_responsesService.PutResponse(response));
        }