7
What’s the main difference between using the options Guid.Parse() or new Guid() to convert a string in a Guid?
And which of the two approaches would be best used?
var usuarioId = new Guid(User.Identity.GetUserId())
Or
var usuarioId = Guid.Parse(User.Identity.GetUserId())