aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorSyndamia <kamen.d.mladenov@protonmail.com>2021-05-12 16:44:17 +0300
committerSyndamia <kamen.d.mladenov@protonmail.com>2021-05-12 16:44:17 +0300
commit7255325ae424e0d1f1b48d01bde8357096c2db8b (patch)
tree63d769f2cd1ee963cc06c0fd64ca142783ba612e /tools
parent3ba9108bc24f0419a552f535fbc7495071884e97 (diff)
downloadit-kariera-exam-template-7255325ae424e0d1f1b48d01bde8357096c2db8b.tar
it-kariera-exam-template-7255325ae424e0d1f1b48d01bde8357096c2db8b.tar.gz
it-kariera-exam-template-7255325ae424e0d1f1b48d01bde8357096c2db8b.zip
Moved services to their own folder and updated their namespaces
Diffstat (limited to 'tools')
-rwxr-xr-xtools/add-feature-template.sh4
1 files changed, 2 insertions, 2 deletions
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
{