C# Class TeamBins.DataAccessCore.ActivityRepository

Inheritance: BaseRepo, IActivityRepository
Show file Open project: kshyju/ProjectPlanningTool

Public Methods

Method Description
ActivityRepository ( IConfiguration configuration ) : Dapper
GetActivityItem ( int id ) : ActivityDto
GetActivityItems ( int teamId, int count ) : IEnumerable
Save ( ActivityDto activity ) : int

Method Details

ActivityRepository() public method

public ActivityRepository ( IConfiguration configuration ) : Dapper
configuration IConfiguration
return Dapper

GetActivityItem() public method

public GetActivityItem ( int id ) : ActivityDto
id int
return TeamBins.Common.ViewModels.ActivityDto

GetActivityItems() public method

public GetActivityItems ( int teamId, int count ) : IEnumerable
teamId int
count int
return IEnumerable

Save() public method

public Save ( ActivityDto activity ) : int
activity TeamBins.Common.ViewModels.ActivityDto
return int