C# Class Badges.Controllers.AssertionController

Inheritance: ApplicationController
Exibir arquivo Open project: ucdavis/Badges

Public Methods

Method Description
AssertionController ( IRepositoryFactory repositoryFactory ) : System
Badge ( System.Guid id ) : System.Web.Mvc.ActionResult

Returns info about a badge itself

Organization ( ) : System.Web.Mvc.ActionResult

Return information about who issued a badge

UserBadge ( System.Guid id ) : System.Web.Mvc.ActionResult

returns information about a specific badge awarded to a specific user

Private Methods

Method Description
AbsoluteUrl ( string action, string controller = null, System.Guid id = null ) : string
GetUnixTime ( System.DateTime time ) : int
HashString ( string original ) : string

Method Details

AssertionController() public method

public AssertionController ( IRepositoryFactory repositoryFactory ) : System
repositoryFactory IRepositoryFactory
return System

Badge() public method

Returns info about a badge itself
public Badge ( System.Guid id ) : System.Web.Mvc.ActionResult
id System.Guid locally unique id of the badge
return System.Web.Mvc.ActionResult

Organization() public method

Return information about who issued a badge
public Organization ( ) : System.Web.Mvc.ActionResult
return System.Web.Mvc.ActionResult

UserBadge() public method

returns information about a specific badge awarded to a specific user
public UserBadge ( System.Guid id ) : System.Web.Mvc.ActionResult
id System.Guid Id of badge submission/award
return System.Web.Mvc.ActionResult