C# Class FSNEP.Controllers.TimeRecordController

Inheritance: ApplicationController
Afficher le fichier Open project: ucdavis/FSNEP

Méthodes publiques

Méthode Description
Current ( ) : System.Web.Mvc.ActionResult
Entry ( int id ) : System.Web.Mvc.ActionResult
ListOfActivitiesAndDescriptions ( ) : System.Web.Mvc.ViewResult
Review ( int id ) : System.Web.Mvc.ActionResult
TimeRecordController ( ITimeRecordBLL timeRecordBLL, IRepository timeRecordRepository, IUserBLL userBLL, ITimeRecordCalendarGenerator timeRecordCalendarGenerator ) : System.Collections.Generic

Private Methods

Méthode Description
AddEntry ( int recordId, TimeRecordEntry entry ) : JsonNetResult
EditEntry ( int entryId, TimeRecordEntry entry ) : JsonNetResult
GetEntry ( int entryId ) : JsonNetResult
History ( ) : System.Web.Mvc.ActionResult
RemoveEntry ( int entryId ) : JsonNetResult
Submit ( int id ) : System.Web.Mvc.ActionResult
TransferValuesTo ( TimeRecordEntry entryToUpdate, TimeRecordEntry entry ) : void

Transfer the new values from the given entry to the entry to update. Currently you can only update the comment, hours, and activity type

Method Details

Current() public méthode

public Current ( ) : System.Web.Mvc.ActionResult
Résultat System.Web.Mvc.ActionResult

Entry() public méthode

public Entry ( int id ) : System.Web.Mvc.ActionResult
id int
Résultat System.Web.Mvc.ActionResult

ListOfActivitiesAndDescriptions() public méthode

public ListOfActivitiesAndDescriptions ( ) : System.Web.Mvc.ViewResult
Résultat System.Web.Mvc.ViewResult

Review() public méthode

public Review ( int id ) : System.Web.Mvc.ActionResult
id int
Résultat System.Web.Mvc.ActionResult

TimeRecordController() public méthode

public TimeRecordController ( ITimeRecordBLL timeRecordBLL, IRepository timeRecordRepository, IUserBLL userBLL, ITimeRecordCalendarGenerator timeRecordCalendarGenerator ) : System.Collections.Generic
timeRecordBLL ITimeRecordBLL
timeRecordRepository IRepository
userBLL IUserBLL
timeRecordCalendarGenerator ITimeRecordCalendarGenerator
Résultat System.Collections.Generic