C# Class DAL.Services.EventService

Datei anzeigen Open project: kulish-alina/HR_Project Class Usage Examples

Public Methods

Method Description
Add ( EventDTO eventToAdd ) : EventDTO
Delete ( int id ) : bool
EventService ( IUnitOfWork uow ) : System
Get ( int id ) : EventDTO
Get ( IEnumerable userIds, System.DateTime startDate, System.DateTime endDate ) : IEnumerable
GetByCandidateId ( int candidateId ) : IEnumerable
Update ( EventDTO eventToChange ) : EventDTO

Method Details

Add() public method

public Add ( EventDTO eventToAdd ) : EventDTO
eventToAdd DAL.DTO.EventDTO
return DAL.DTO.EventDTO

Delete() public method

public Delete ( int id ) : bool
id int
return bool

EventService() public method

public EventService ( IUnitOfWork uow ) : System
uow IUnitOfWork
return System

Get() public method

public Get ( int id ) : EventDTO
id int
return DAL.DTO.EventDTO

Get() public method

public Get ( IEnumerable userIds, System.DateTime startDate, System.DateTime endDate ) : IEnumerable
userIds IEnumerable
startDate System.DateTime
endDate System.DateTime
return IEnumerable

GetByCandidateId() public method

public GetByCandidateId ( int candidateId ) : IEnumerable
candidateId int
return IEnumerable

Update() public method

public Update ( EventDTO eventToChange ) : EventDTO
eventToChange DAL.DTO.EventDTO
return DAL.DTO.EventDTO