C# Class Badges.Controllers.StudentController

Inheritance: ApplicationController
Show file Open project: ucdavis/Badges

Public Methods

Method Description
AddExperience ( ) : System.Web.Mvc.ActionResult
DeleteExperience ( System.Guid id ) : System.Web.Mvc.ActionResult
EditExperience ( System.Guid id ) : System.Web.Mvc.ActionResult
Error ( ) : System.Web.Mvc.ActionResult
Feedback ( ) : System.Web.Mvc.ActionResult
Index ( ) : System.Web.Mvc.ActionResult
Portfolio ( ) : System.Web.Mvc.ActionResult
StudentController ( IRepositoryFactory repositoryFactory, IUserService userService, IFileService fileService ) : System
ViewExperience ( System.Guid id ) : System.Web.Mvc.ActionResult

Private Methods

Method Description
AddEditOutcome ( System.Guid id, System.Guid outcomeId, System.Guid existingOutcomeId, string notes ) : System.Web.Mvc.ActionResult
AddExperience ( Experience experience, System.Web.HttpPostedFileBase coverImage, string queryString ) : System.Web.Mvc.ActionResult
AddSupportingWork ( System.Guid id, SupportingWorkModel model ) : System.Web.Mvc.ActionResult
CropAndSave ( System.Web.HttpPostedFileBase image, string queryString ) : string

Crops the image to the given size, saves, and returns the url of the final blob

EditExperience ( System.Guid id, Experience experience, System.Web.HttpPostedFileBase coverImage, string queryString ) : System.Web.Mvc.ActionResult
GetEditModel ( Experience experience ) : ExperienceEditModel
RemoveOutcome ( System.Guid id, System.Guid experienceOutcomeId ) : System.Web.Mvc.ActionResult
RequestFeedback ( System.Guid id, string message, System.Guid instructors ) : System.Web.Mvc.ActionResult

Method Details

AddExperience() public method

public AddExperience ( ) : System.Web.Mvc.ActionResult
return System.Web.Mvc.ActionResult

DeleteExperience() public method

public DeleteExperience ( System.Guid id ) : System.Web.Mvc.ActionResult
id System.Guid
return System.Web.Mvc.ActionResult

EditExperience() public method

public EditExperience ( System.Guid id ) : System.Web.Mvc.ActionResult
id System.Guid
return System.Web.Mvc.ActionResult

Error() public method

public Error ( ) : System.Web.Mvc.ActionResult
return System.Web.Mvc.ActionResult

Feedback() public method

public Feedback ( ) : System.Web.Mvc.ActionResult
return System.Web.Mvc.ActionResult

Index() public method

public Index ( ) : System.Web.Mvc.ActionResult
return System.Web.Mvc.ActionResult

Portfolio() public method

public Portfolio ( ) : System.Web.Mvc.ActionResult
return System.Web.Mvc.ActionResult

StudentController() public method

public StudentController ( IRepositoryFactory repositoryFactory, IUserService userService, IFileService fileService ) : System
repositoryFactory IRepositoryFactory
userService IUserService
fileService IFileService
return System

ViewExperience() public method

public ViewExperience ( System.Guid id ) : System.Web.Mvc.ActionResult
id System.Guid
return System.Web.Mvc.ActionResult