C# 클래스 DAL.Services.NoteService

파일 보기 프로젝트 열기: kulish-alina/HR_Project 1 사용 예제들

공개 메소드들

메소드 설명
Add ( NoteDTO noteToAdd ) : NoteDTO
Delete ( int id ) : bool
Get ( int id ) : NoteDTO
GetByUserId ( int userId ) : IEnumerable
NoteService ( IUnitOfWork uow ) : System
Update ( NoteDTO noteToChange ) : NoteDTO

메소드 상세

Add() 공개 메소드

public Add ( NoteDTO noteToAdd ) : NoteDTO
noteToAdd DAL.DTO.NoteDTO
리턴 DAL.DTO.NoteDTO

Delete() 공개 메소드

public Delete ( int id ) : bool
id int
리턴 bool

Get() 공개 메소드

public Get ( int id ) : NoteDTO
id int
리턴 DAL.DTO.NoteDTO

GetByUserId() 공개 메소드

public GetByUserId ( int userId ) : IEnumerable
userId int
리턴 IEnumerable

NoteService() 공개 메소드

public NoteService ( IUnitOfWork uow ) : System
uow IUnitOfWork
리턴 System

Update() 공개 메소드

public Update ( NoteDTO noteToChange ) : NoteDTO
noteToChange DAL.DTO.NoteDTO
리턴 DAL.DTO.NoteDTO