Exemplo n.º 1
0
        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;
        }
Exemplo n.º 2
0
 public LargeObjectTestModel PostLargeObject(LargeObjectTestModel simpleJsonModel)
 {
     var content = simpleJsonModel;
     content.ServerReceivedTime = DateTime.UtcNow.Ticks.ToString(CultureInfo.InvariantCulture);
     return content;
 }