C# Class DAL.Services.NoteService

Afficher le fichier Open project: kulish-alina/HR_Project Class Usage Examples

Méthodes publiques

Méthode Description
Add ( NoteDTO noteToAdd ) : NoteDTO
Delete ( int id ) : bool
Get ( int id ) : NoteDTO
GetByUserId ( int userId ) : IEnumerable
NoteService ( IUnitOfWork uow ) : System
Update ( NoteDTO noteToChange ) : NoteDTO

Method Details

Add() public méthode

public Add ( NoteDTO noteToAdd ) : NoteDTO
noteToAdd DAL.DTO.NoteDTO
Résultat DAL.DTO.NoteDTO

Delete() public méthode

public Delete ( int id ) : bool
id int
Résultat bool

Get() public méthode

public Get ( int id ) : NoteDTO
id int
Résultat DAL.DTO.NoteDTO

GetByUserId() public méthode

public GetByUserId ( int userId ) : IEnumerable
userId int
Résultat IEnumerable

NoteService() public méthode

public NoteService ( IUnitOfWork uow ) : System
uow IUnitOfWork
Résultat System

Update() public méthode

public Update ( NoteDTO noteToChange ) : NoteDTO
noteToChange DAL.DTO.NoteDTO
Résultat DAL.DTO.NoteDTO