C# Class TimeTracker.Tasks.TimeEntryTasks

Inheritance: ITimeEntryTasks
显示文件 Open project: jsmale/TimeTracker

Public Methods

Method Description
GetTimeEntries ( System.Guid workItemId ) : IEnumerable
StartWorkItem ( System.Guid workItemId, System.DateTime startTime ) : WorkItemTimeEntryDetails
StopWorkItem ( System.Guid workItemId, System.DateTime stopTime ) : WorkItemTimeEntryDetails
TimeEntryTasks ( IRepository repository, IDateTimeTasks dateTimeTasks ) : System

Method Details

GetTimeEntries() public method

public GetTimeEntries ( System.Guid workItemId ) : IEnumerable
workItemId System.Guid
return IEnumerable

StartWorkItem() public method

public StartWorkItem ( System.Guid workItemId, System.DateTime startTime ) : WorkItemTimeEntryDetails
workItemId System.Guid
startTime System.DateTime
return TimeTracker.DTO.WorkItemTimeEntryDetails

StopWorkItem() public method

public StopWorkItem ( System.Guid workItemId, System.DateTime stopTime ) : WorkItemTimeEntryDetails
workItemId System.Guid
stopTime System.DateTime
return TimeTracker.DTO.WorkItemTimeEntryDetails

TimeEntryTasks() public method

public TimeEntryTasks ( IRepository repository, IDateTimeTasks dateTimeTasks ) : System
repository IRepository
dateTimeTasks IDateTimeTasks
return System