-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Created services classes and added TODO methods for each class
- Loading branch information
Showing
13 changed files
with
192 additions
and
0 deletions.
There are no files selected for viewing
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
*/ | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
*/ | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
*/ | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
*/ | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
*/ | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
*/ | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
*/ | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
*/ | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
*/ | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
*/ | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
*/ | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
*/ | ||
} | ||
} |