C# Class ToDoApp.Domain.Models.ToDoItem

Inheritance: BaseModel
Datei anzeigen Open project: jdehlin/ToDoOnionArchitecture

Public Methods

Method Description
BelongsToList ( ToDoList toDoList ) : bool
CanModify ( User user ) : bool
CanModify ( User user, ToDoList toDoList ) : bool
ToDoItem ( int id, int toDoListId, string body ) : System

Method Details

BelongsToList() public method

public BelongsToList ( ToDoList toDoList ) : bool
toDoList ToDoList
return bool

CanModify() public method

public CanModify ( User user ) : bool
user User
return bool

CanModify() public method

public CanModify ( User user, ToDoList toDoList ) : bool
user User
toDoList ToDoList
return bool

ToDoItem() public method

public ToDoItem ( int id, int toDoListId, string body ) : System
id int
toDoListId int
body string
return System