ScientificReport
Main Page
Related Pages
Packages
Classes
Files
File List
IScientificInternshipService.cs
Go to the documentation of this file.
1
using
System
;
2
using
System
.Collections.Generic;
3
using
System
.Security.Claims;
4
using
ScientificReport
.
DAL
.
Entities
;
5
using
ScientificReport
.
DAL
.
Entities
.
UserProfile
;
6
using
ScientificReport
.
DTO
.
Models
.
ScientificInternship
;
7
8
namespace
ScientificReport
.BLL.Interfaces
9
{
10
public
interface
IScientificInternshipService
11
{
12
IEnumerable<ScientificInternship> GetAll();
13
IEnumerable<ScientificInternship> GetAllWhere(Func<ScientificInternship, bool> predicate);
14
IEnumerable<ScientificInternship> GetItemsByRole(ClaimsPrincipal userClaims);
15
IEnumerable<ScientificInternship> GetPageByRole(
int
page,
int
count, ClaimsPrincipal userClaims);
16
int
GetCountByRole(ClaimsPrincipal userClaims);
17
ScientificInternship
GetById(Guid
id
);
18
ScientificInternship
Get(Func<ScientificInternship, bool> predicate);
19
void
CreateItem(
ScientificInternshipModel
model);
20
void
UpdateItem(
ScientificInternshipEditModel
model);
21
void
DeleteById(Guid
id
);
22
bool
Exists(Guid
id
);
23
void
AddUser(
ScientificInternship
scientificInternship,
UserProfile
user);
24
void
RemoveUser(
ScientificInternship
scientificInternship,
UserProfile
user);
25
IEnumerable<UserProfile> GetUsers(Guid
id
);
26
}
27
}
System
ScientificReport.DAL
ScientificReport.DTO.Models.ScientificInternship.ScientificInternshipEditModel
Definition:
ScientificInternshipEditModel.cs:7
ScientificReport.DAL.Entities.ScientificInternship
Definition:
ScientificInternship.cs:8
ScientificReport.BLL.Interfaces.IScientificInternshipService
Definition:
IScientificInternshipService.cs:10
ScientificReport.DAL.Entities.UserProfile.UserProfile
Definition:
UserProfile.cs:7
ScientificReport.DTO
ScientificReport.DAL.Entities
Definition:
ApplicantsPatentLicenseActivities.cs:4
ScientificReport.DTO.Models.ScientificInternship.ScientificInternshipModel
Definition:
ScientificInternshipModel.cs:6
ScientificReport.DTO.Models
ScientificReport.DAL.Entities.UserProfile
Definition:
UserProfile.cs:5
ScientificReport
ScientificReport.DTO.Models.ScientificInternship
Definition:
ScientificInternshipEditModel.cs:5
ScientificReport.BLL
Interfaces
IScientificInternshipService.cs
Generated by
1.8.11