I have an entity that consists of ApllicationUser as a foreign Key:

```
public class Trades
{
   public int ID { get; set; }
   public double Price { get; set; }
   public double Volume { get; set; }
   public string InstrumentName { get; set; }
   public ApplicationUser User { get; set; }
}

```

Then i try to post a trade using AJAX. 

```
var tradeData = {
    "Price": 1,
    "Volume": 1,
    "InstrumentName": "instrumentName",
    "User": "@User.Identity.Name"
};
$.ajax({
    url: "/api/TradesAPI/",
    method: "POST",
    data: JSON.stringify(tradeData),
    contentType: 'application/json; charset=utf-8',
    dataType: 'json',
    success: function () {
        alert('executed!');
    },
    error: function (error) {
        alert("Transacion has not been executed");
    }
});

```

Unfortunetely ApplicationUser is not being serialised to ApplicationUSer as it is posted a string. What have I done wrong? Thanks for any help in advance.