public static LargeObjectTestModel Create() { var model = new LargeObjectTestModel() { BirthDate = DateTime.UtcNow.AddYears(-20).ToString(), BirthPlace = "Hospital", CurrentLocation = "Hospital", Name = "Giant Hospital", Notes = "Don't fall for the hospital", Username = "******" }; return model; }
public LargeObjectTestModel PostLargeObject(LargeObjectTestModel simpleJsonModel) { var content = simpleJsonModel; content.ServerReceivedTime = DateTime.UtcNow.Ticks.ToString(CultureInfo.InvariantCulture); return content; }