diff --git a/Views/Admin/AddModule.cshtml b/Views/Admin/AddModule.cshtml
index 11c0e6d..1f2d012 100644
--- a/Views/Admin/AddModule.cshtml
+++ b/Views/Admin/AddModule.cshtml
@@ -58,7 +58,7 @@
moduleData:{
ModuleName : null,
AllowedUserType : null,
- MethodAllowedUserType : "[]",
+ MethodAllowedUserType : null,
ModuleStatus : "1",
Description : null,
}
@@ -66,7 +66,7 @@
},
methods: {
saveData() {
- fetch('/ModuleAPI/addData', {
+ fetch('/ModuleAPI/AddModule', {
method: 'POST',
headers: {
'Content-Type': 'application/json'