This commit is contained in:
@@ -79,14 +79,6 @@ namespace AyaNova.Util
|
||||
|
||||
//WIDGET sample form customization
|
||||
{
|
||||
//?? Should the template be an object or an array at the top
|
||||
//In other words is it correct below or in the TEST Project FormCustom code where it's directly an array
|
||||
//verify what is coming out of the test project in json first before this
|
||||
|
||||
//According to the internet (:)) an array or an object is a valid top level json root object so it could go either way and it's a matter of preference I guess
|
||||
|
||||
|
||||
var ct = ServiceProviderProvider.DBContext;
|
||||
var fc = new FormCustom()
|
||||
{
|
||||
FormKey = "widget",
|
||||
@@ -128,8 +120,8 @@ namespace AyaNova.Util
|
||||
]"
|
||||
};
|
||||
|
||||
ct.FormCustom.Add(fc);
|
||||
ct.SaveChanges();
|
||||
//Create and save to db
|
||||
var res = FormCustomBiz.GetBizInternal(ServiceProviderProvider.DBContext).CreateAsync(fc).Result;
|
||||
}
|
||||
|
||||
//Seed special test data for integration testing
|
||||
|
||||
Reference in New Issue
Block a user