I am trying to match a query based on URL fields. I have an my InsertLink method below that is fired off when someone adds a new link on the webpage. Right now if any link is to be added in with the prefix "https://" or "http://" it automatically matches the first (and in this case only) item with the https:// or "http://" prefix in the index. Is this because of the way my model is setup with the Uri type? Here is an example of my model and a screenshot of a debug for the InsertLink method.
My Model:
public class SSOLink
{
public string Name { get; set; }
public Uri Url { get; set; }
public string Owner { get; set; }
}
An example of the screenshot.