This commit is contained in:
2020-01-20 18:12:21 +00:00
parent 6bdc6e721e
commit b2d2f0f108
12 changed files with 15 additions and 41 deletions

View File

@@ -496,9 +496,12 @@ namespace AyaNova.Biz
} }
} }
TODO: Build the return object in a clean format //TODO: Build the return object in a clean format
//THIS FORMAT IS INCORRECT I THINK //I could just use a actual object class to return (object v {get;set;})
//IT SHOULD BE A FULLER OBJECT WITH THE PROPERTYNAME ?! //with a optional ID that is set to json not serialize if null?
//https://www.newtonsoft.com/json/help/html/JsonPropertyPropertyLevelSetting.htm
//rows:{[ {},{v:"Green mechanics",id:32},{v:"...notes..."},{v:"42",id:42}, ...thousands more etc.... ]} //rows:{[ {},{v:"Green mechanics",id:32},{v:"...notes..."},{v:"42",id:42}, ...thousands more etc.... ]}

View File

@@ -1,6 +1,3 @@
using System;
using System.Collections.Generic;
using AyaNova.Biz;
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations;

View File

@@ -1,4 +1,3 @@
using System;
using AyaNova.Biz; using AyaNova.Biz;
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations;

View File

@@ -1,7 +1,3 @@
using System;
using System.Collections.Generic;
using AyaNova.Biz;
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations;
namespace AyaNova.Models namespace AyaNova.Models

View File

@@ -1,6 +1,4 @@
using System; using System;
using System.Collections.Generic;
using AyaNova.Biz;
namespace AyaNova.Models namespace AyaNova.Models
{ {

View File

@@ -1,6 +1,4 @@
using System;
using System.Collections.Generic; using System.Collections.Generic;
using AyaNova.Biz;
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations;

View File

@@ -1,7 +1,5 @@
using System; using System;
using System.Collections.Generic;
using AyaNova.Biz; using AyaNova.Biz;
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations;
namespace AyaNova.Models namespace AyaNova.Models

View File

@@ -1,6 +1,4 @@
using System; using System;
using System.Collections.Generic;
using AyaNova.Biz;
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations;

View File

@@ -1,7 +1,3 @@
using System;
using System.Collections.Generic;
using AyaNova.Biz;
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations;
namespace AyaNova.Models namespace AyaNova.Models

View File

@@ -1,5 +1,3 @@
using System;
using System.Collections.Generic;
using AyaNova.Biz; using AyaNova.Biz;
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations;

View File

@@ -1,7 +1,3 @@
using System;
using System.Collections.Generic;
using AyaNova.Biz;
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations;
namespace AyaNova.Models namespace AyaNova.Models

View File

@@ -1,6 +1,3 @@
using System;
using System.Collections.Generic;
using AyaNova.Biz;
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations;
using Newtonsoft.Json; using Newtonsoft.Json;
namespace AyaNova.Models namespace AyaNova.Models