C# 클래스 HBS.Data.Entities.TimeTracking.Models.TimeTrackManager

파일 보기 프로젝트 열기: heartbeatservice/HeartbeatServiceSolution

공개 메소드들

메소드 설명
DeleteTimeTrackRecord ( int timeTrackId, string loggedInUserName ) : bool
GetClockInOutTime ( string userName, System.DateTime startDate, System.DateTime endDate ) : WeeklyTimeTrackWeekListViewModel
GetCurrentDayClockInOutTime ( string userName ) : DailyTimeTrack
GetCurrentWeekClockInOutTime ( string userName ) : WeeklyTimeTrackWeekListViewModel
GetDailyClockInOutTimeByDate ( string userName, System.DateTime startDate, System.DateTime endDate ) : DailyTimeTrack
GetTimeTrackFromUserTimeTrackHistory ( UserTimeTrackHistory userTimeTrackHistory ) : TimeTrack
GetUserAndHistory ( string userName, System.DateTime startDate ) : void
GetUserTimeTrackHistoryForSpecifiedPeriod ( string userName, System.DateTime startDate, System.DateTime endDate ) : CustomTimeTrack
GetWeeklyClockInOutTimeByDate ( string userName, System.DateTime startDate, System.DateTime endDate ) : WeeklyTimeTrack
SetDefaultClockoutTimeStampToForgottenStamps ( string userName ) : void

비공개 메소드들

메소드 설명
GetTimeTrackList ( IEnumerable userTimeTrackHistories, System.DateTime givenDate ) : IEnumerable
TrackClockInOutTime ( string userName ) : void
UpdateClockInOutTime ( int timeTrackId, string stampDate, string selectedUser, string clockInTime, string clockOutTime, string updatedBy ) : TimeTrackErrorViewModel

메소드 상세

DeleteTimeTrackRecord() 공개 정적인 메소드

public static DeleteTimeTrackRecord ( int timeTrackId, string loggedInUserName ) : bool
timeTrackId int
loggedInUserName string
리턴 bool

GetClockInOutTime() 공개 정적인 메소드

public static GetClockInOutTime ( string userName, System.DateTime startDate, System.DateTime endDate ) : WeeklyTimeTrackWeekListViewModel
userName string
startDate System.DateTime
endDate System.DateTime
리턴 HBS.Data.Entities.TimeTracking.ViewModels.WeeklyTimeTrackWeekListViewModel

GetCurrentDayClockInOutTime() 공개 정적인 메소드

public static GetCurrentDayClockInOutTime ( string userName ) : DailyTimeTrack
userName string
리턴 DailyTimeTrack

GetCurrentWeekClockInOutTime() 공개 정적인 메소드

public static GetCurrentWeekClockInOutTime ( string userName ) : WeeklyTimeTrackWeekListViewModel
userName string
리턴 HBS.Data.Entities.TimeTracking.ViewModels.WeeklyTimeTrackWeekListViewModel

GetDailyClockInOutTimeByDate() 공개 정적인 메소드

public static GetDailyClockInOutTimeByDate ( string userName, System.DateTime startDate, System.DateTime endDate ) : DailyTimeTrack
userName string
startDate System.DateTime
endDate System.DateTime
리턴 DailyTimeTrack

GetTimeTrackFromUserTimeTrackHistory() 공개 정적인 메소드

public static GetTimeTrackFromUserTimeTrackHistory ( UserTimeTrackHistory userTimeTrackHistory ) : TimeTrack
userTimeTrackHistory HBS.Data.Entities.TimeTracking.EF.UserTimeTrackHistory
리턴 TimeTrack

GetUserAndHistory() 공개 정적인 메소드

public static GetUserAndHistory ( string userName, System.DateTime startDate ) : void
userName string
startDate System.DateTime
리턴 void

GetUserTimeTrackHistoryForSpecifiedPeriod() 공개 정적인 메소드

public static GetUserTimeTrackHistoryForSpecifiedPeriod ( string userName, System.DateTime startDate, System.DateTime endDate ) : CustomTimeTrack
userName string
startDate System.DateTime
endDate System.DateTime
리턴 CustomTimeTrack

GetWeeklyClockInOutTimeByDate() 공개 정적인 메소드

public static GetWeeklyClockInOutTimeByDate ( string userName, System.DateTime startDate, System.DateTime endDate ) : WeeklyTimeTrack
userName string
startDate System.DateTime
endDate System.DateTime
리턴 WeeklyTimeTrack

SetDefaultClockoutTimeStampToForgottenStamps() 공개 정적인 메소드

public static SetDefaultClockoutTimeStampToForgottenStamps ( string userName ) : void
userName string
리턴 void