aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ExamTemplate/Services/Services/CloudinaryService.cs (renamed from ExamTemplate/Services/CloudinaryService.cs)2
-rw-r--r--ExamTemplate/Services/Services/UserService.cs (renamed from ExamTemplate/Services/UserService.cs)2
-rw-r--r--ExamTemplate/Web/Startup.cs2
-rwxr-xr-xtools/add-feature-template.sh4
4 files changed, 5 insertions, 5 deletions
diff --git a/ExamTemplate/Services/CloudinaryService.cs b/ExamTemplate/Services/Services/CloudinaryService.cs
index ef421e7..40772d9 100644
--- a/ExamTemplate/Services/CloudinaryService.cs
+++ b/ExamTemplate/Services/Services/CloudinaryService.cs
@@ -7,7 +7,7 @@ using CloudinaryDotNet.Actions;
using Microsoft.AspNetCore.Http;
using ExamTemplate.Services.Interfaces;
-namespace ExamTemplate.Services
+namespace ExamTemplate.Services.Services
{
public class CloudinaryService : ICloudinaryService
{
diff --git a/ExamTemplate/Services/UserService.cs b/ExamTemplate/Services/Services/UserService.cs
index 3099bda..e82859a 100644
--- a/ExamTemplate/Services/UserService.cs
+++ b/ExamTemplate/Services/Services/UserService.cs
@@ -9,7 +9,7 @@ using Microsoft.AspNetCore.Identity;
using Microsoft.EntityFrameworkCore;
using ExamTemplate.Services.Interfaces;
-namespace ExamTemplate.Services
+namespace ExamTemplate.Services.Services
{
public class UserService : IUserService
{
diff --git a/ExamTemplate/Web/Startup.cs b/ExamTemplate/Web/Startup.cs
index ec479a7..c18bca6 100644
--- a/ExamTemplate/Web/Startup.cs
+++ b/ExamTemplate/Web/Startup.cs
@@ -3,7 +3,7 @@ using System.Linq;
using ExamTemplate.Common;
using ExamTemplate.Data;
using ExamTemplate.Data.Models;
-using ExamTemplate.Services;
+using ExamTemplate.Services.Services;
using ExamTemplate.Services.Interfaces;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
diff --git a/tools/add-feature-template.sh b/tools/add-feature-template.sh
index ca0c8d5..b5ab0da 100755
--- a/tools/add-feature-template.sh
+++ b/tools/add-feature-template.sh
@@ -89,7 +89,7 @@ namespace $project_name.Services.Interfaces
}
EOF
-cat > $dir/${feature_name}Service.cs<< EOF
+cat > $dir/Services/${feature_name}Service.cs<< EOF
using $project_name.Services.Interfaces;
using System;
using System.Threading.Tasks;
@@ -100,7 +100,7 @@ using $project_name.Services.Models.$feature_name;
using System.Collections.Generic;
using System.Linq;
-namespace $project_name.Services
+namespace $project_name.Services.Services
{
public class ${feature_name}Service : I${feature_name}Service
{