From e82405d07fcbec9570b228e1f299f8f634e08738 Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Sat, 16 May 2020 14:51:40 +0000 Subject: [PATCH] --- server/AyaNova/biz/PMBiz.cs | 4 ++-- server/AyaNova/biz/QuoteBiz.cs | 4 +++- server/AyaNova/biz/TagUtil.cs | 9 ++++++--- 3 files changed, 11 insertions(+), 6 deletions(-) diff --git a/server/AyaNova/biz/PMBiz.cs b/server/AyaNova/biz/PMBiz.cs index ad60e151..64040b27 100644 --- a/server/AyaNova/biz/PMBiz.cs +++ b/server/AyaNova/biz/PMBiz.cs @@ -107,7 +107,7 @@ namespace AyaNova.Biz // internal async Task DuplicateAsync(PM dbObj) - { + { await Task.CompletedTask; throw new System.NotImplementedException("STUB: WORKORDER DUPLICATE"); // PM outObj = new PM(); // CopyObject.Copy(dbObj, outObj, "Wiki"); @@ -207,7 +207,7 @@ namespace AyaNova.Biz //DELETE // internal async Task DeleteAsync(PM dbObj) - { + { await Task.CompletedTask; throw new System.NotImplementedException("STUB: WORKORDER DELETE"); //Determine if the object can be deleted, do the deletion tentatively //Probably also in here deal with tags and associated search text etc diff --git a/server/AyaNova/biz/QuoteBiz.cs b/server/AyaNova/biz/QuoteBiz.cs index 0fcfd436..659fef4f 100644 --- a/server/AyaNova/biz/QuoteBiz.cs +++ b/server/AyaNova/biz/QuoteBiz.cs @@ -81,7 +81,7 @@ namespace AyaNova.Biz // { //do stuff with Quote Quote o = new Quote(); - + //TODO: template //TODO: CUSTOMER ID @@ -107,6 +107,7 @@ namespace AyaNova.Biz internal async Task DuplicateAsync(Quote dbObj) { + await Task.CompletedTask; throw new System.NotImplementedException("STUB: WORKORDER DUPLICATE"); // Quote outObj = new Quote(); // CopyObject.Copy(dbObj, outObj, "Wiki"); @@ -207,6 +208,7 @@ namespace AyaNova.Biz // internal async Task DeleteAsync(Quote dbObj) { + await Task.CompletedTask; throw new System.NotImplementedException("STUB: WORKORDER DELETE"); //Determine if the object can be deleted, do the deletion tentatively //Probably also in here deal with tags and associated search text etc diff --git a/server/AyaNova/biz/TagUtil.cs b/server/AyaNova/biz/TagUtil.cs index a55b3681..634d1e04 100644 --- a/server/AyaNova/biz/TagUtil.cs +++ b/server/AyaNova/biz/TagUtil.cs @@ -219,12 +219,13 @@ namespace AyaNova.Biz { //todo iterate the object in question, open and update and save each one through it's biz object interface so rules etc are all maintained //not sure if should update locked or read only objects, probably not I guess as it should only do whatever was done in interface - + await Task.CompletedTask; throw new System.NotImplementedException("NOT IMPLEMENTED YET"); } public static async Task BulkAddAny(AyaType ayaType, string tag, AyContext ct) { + await Task.CompletedTask; throw new System.NotImplementedException("NOT IMPLEMENTED YET"); } @@ -233,12 +234,13 @@ namespace AyaNova.Biz { //todo iterate the object in question, open and update and save each one through it's biz object interface so rules etc are all maintained //not sure if should update locked or read only objects, probably not I guess as it should only do whatever was done in interface - + await Task.CompletedTask; throw new System.NotImplementedException("NOT IMPLEMENTED YET"); } public static async Task BulkRemoveAny(AyaType ayaType, string tag, AyContext ct) { + await Task.CompletedTask; throw new System.NotImplementedException("NOT IMPLEMENTED YET"); } @@ -247,12 +249,13 @@ namespace AyaNova.Biz { //todo iterate the object in question, open and update and save each one through it's biz object interface so rules etc are all maintained //not sure if should update locked or read only objects, probably not I guess as it should only do whatever was done in interface - + await Task.CompletedTask; throw new System.NotImplementedException("NOT IMPLEMENTED YET"); } public static async Task BulkReplaceAny(AyaType ayaType, string fromTag, string toTag, AyContext ct) { + await Task.CompletedTask; throw new System.NotImplementedException("NOT IMPLEMENTED YET"); }