C# Class Blog.Services.Implementation.HobbyService

Inheritance: BaseService, IHobbyService
Mostrar archivo Open project: jsnmgpnty/Blogness2.0

Public Methods

Method Description
Add ( Hobby hobby ) : Hobby
Delete ( int hobbyId ) : bool
GetByUser ( int userId ) : List
HobbyService ( IHobbyLogic hobbyLogic ) : System.Collections.Generic
Update ( Hobby hobby ) : Hobby

Method Details

Add() public method

public Add ( Hobby hobby ) : Hobby
hobby Blog.Common.Contracts.Hobby
return Blog.Common.Contracts.Hobby

Delete() public method

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

GetByUser() public method

public GetByUser ( int userId ) : List
userId int
return List

HobbyService() public method

public HobbyService ( IHobbyLogic hobbyLogic ) : System.Collections.Generic
hobbyLogic IHobbyLogic
return System.Collections.Generic

Update() public method

public Update ( Hobby hobby ) : Hobby
hobby Blog.Common.Contracts.Hobby
return Blog.Common.Contracts.Hobby