Skip to content

Commit

Permalink
Created services classes and added TODO methods for each class
Browse files Browse the repository at this point in the history
  • Loading branch information
mkoper02 authored and bilimig committed May 27, 2024
1 parent 82b9e74 commit bfadcd3
Show file tree
Hide file tree
Showing 13 changed files with 192 additions and 0 deletions.
Empty file.
16 changes: 16 additions & 0 deletions Server/ReasnAPI/ReasnAPI/Services/AddressService.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
using ReasnAPI.Models.Database;

namespace ReasnAPI.Services {
public class AddressService (ReasnContext context) {
private readonly ReasnContext _context = context;

/* TODO: Create following functions for this class
* create
* update
* delete
* get by ID
* get list by filter
* get all
*/
}
}
16 changes: 16 additions & 0 deletions Server/ReasnAPI/ReasnAPI/Services/CommentService.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
using ReasnAPI.Models.Database;

namespace ReasnAPI.Services {
public class CommentService (ReasnContext context) {
private readonly ReasnContext _context = context;

/* TODO: Create following functions for this class
* create
* update
* delete
* get by ID
* get list by filter
* get all
*/
}
}
16 changes: 16 additions & 0 deletions Server/ReasnAPI/ReasnAPI/Services/EventService.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
using ReasnAPI.Models.Database;

namespace ReasnAPI.Services {
public class EventService (ReasnContext context) {
private readonly ReasnContext _context = context;

/* TODO: Create following functions for this class
* create
* update
* delete
* get by ID
* get list by filter
* get all
*/
}
}
16 changes: 16 additions & 0 deletions Server/ReasnAPI/ReasnAPI/Services/ImageService.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
using ReasnAPI.Models.Database;

namespace ReasnAPI.Services {
public class ImageService (ReasnContext context) {
private readonly ReasnContext _context = context;

/* TODO: Create following functions for this class
* create
* update
* delete
* get by ID
* get list by filter
* get all
*/
}
}
16 changes: 16 additions & 0 deletions Server/ReasnAPI/ReasnAPI/Services/IntrestService.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
using ReasnAPI.Models.Database;

namespace ReasnAPI.Services {
public class IntrestService (ReasnContext context) {
private readonly ReasnContext _context = context;

/* TODO: Create following functions for this class
* create
* update
* delete
* get by ID
* get list by filter
* get all
*/
}
}
16 changes: 16 additions & 0 deletions Server/ReasnAPI/ReasnAPI/Services/ObjectTypeService.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
using ReasnAPI.Models.Database;

namespace ReasnAPI.Services {
public class ObjectTypeService (ReasnContext context) {
private readonly ReasnContext _context = context;

/* TODO: Create following functions for this class
* create
* update
* delete
* get by ID
* get list by filter
* get all
*/
}
}
16 changes: 16 additions & 0 deletions Server/ReasnAPI/ReasnAPI/Services/ParameterService.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
using ReasnAPI.Models.Database;

namespace ReasnAPI.Services {
public class ParameterService (ReasnContext context){
private readonly ReasnContext _context = context;

/* TODO: Create following functions for this class
* create
* update
* delete
* get by ID
* get list by filter
* get all
*/
}
}
16 changes: 16 additions & 0 deletions Server/ReasnAPI/ReasnAPI/Services/ParticipantService.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
using ReasnAPI.Models.Database;

namespace ReasnAPI.Services {
public class ParticipantService (ReasnContext context) {
private readonly ReasnContext _context = context;

/* TODO: Create following functions for this class
* create
* update
* delete
* get by ID
* get list by filter
* get all
*/
}
}
16 changes: 16 additions & 0 deletions Server/ReasnAPI/ReasnAPI/Services/RoleService.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
using ReasnAPI.Models.Database;

namespace ReasnAPI.Services {
public class RoleService (ReasnContext context) {
private readonly ReasnContext _context = context;

/* TODO: Create following functions for this class
* create
* update
* delete
* get by ID
* get list by filter
* get all
*/
}
}
16 changes: 16 additions & 0 deletions Server/ReasnAPI/ReasnAPI/Services/StatusService.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
using ReasnAPI.Models.Database;

namespace ReasnAPI.Services {
public class StatusService (ReasnContext context) {
private readonly ReasnContext _context = context;

/* TODO: Create following functions for this class
* create
* update
* delete
* get by ID
* get list by filter
* get all
*/
}
}
16 changes: 16 additions & 0 deletions Server/ReasnAPI/ReasnAPI/Services/TagService.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
using ReasnAPI.Models.Database;

namespace ReasnAPI.Services {
public class TagService (ReasnContext context) {
private readonly ReasnContext _context = context;

/* TODO: Create following functions for this class
* create
* update
* delete
* get by ID
* get list by filter
* get all
*/
}
}
16 changes: 16 additions & 0 deletions Server/ReasnAPI/ReasnAPI/Services/UserService.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
using ReasnAPI.Models.Database;

namespace ReasnAPI.Services {
public class UserService (ReasnContext context) {
private readonly ReasnContext _context = context;

/* TODO: Create following functions for this class
* create
* update
* delete
* get by ID
* get list by filter
* get all
*/
}
}

0 comments on commit bfadcd3

Please sign in to comment.