public async void CreateDummyOrder() { var wo = new WOModel { WorkOrder = new WorkOrder() }; wo.WorkOrder.RoutingElements = new RoutingElements { Origin = "SI7", Target = "FacilitySource" }; wo.WorkOrder.Keys = new Keys { Source_WO_ID = "XX-12234", Unified_WO_ID = "This will be generated here" }; var result = await DocumentDBRepository <WOModel> .CreateItemAsync(wo); Assert.IsNotNull(result); }
public StudentController(WOModel _wo) : base(_wo) { }
public ValuesController(WOModel _wo) : base(_wo) { }
public WOController(WOModel _wo) { wo = _wo; }
public static string ConvertToJSON(WOModel model) { return(JsonConvert.SerializeObject(model)); }
public static XmlDocument ConvertWOTOXML(WOModel model) { //TODO: Implement the method return(new XmlDocument()); }