Method | Description | |
---|---|---|
Create ( ) : System.Web.Mvc.ActionResult | ||
Crop ( ) : System.Web.Mvc.ActionResult | ||
Edit ( ) : System.Web.Mvc.ActionResult |
Edit your profile
|
|
Picture ( ) : System.Web.Mvc.ActionResult | ||
ProfileController ( IRepositoryFactory repositoryFactory, IFileService fileService, INotificationService notificationService ) : System | ||
ViewProfileImage ( System.Guid profileId ) : System.Web.Mvc.ActionResult |
View either your own profile image, or another user's if you pass their profile id
|
Method | Description | |
---|---|---|
Create ( Profile profile, string roles, System.Web.HttpPostedFileBase image ) : System.Web.Mvc.ActionResult | ||
Crop ( System.Web.HttpPostedFileBase picture, int x1, int x2, int y1, int y2, int w, int h ) : System.Web.Mvc.ActionResult | ||
CropAndSave ( System.Web.HttpPostedFileBase image, int width, int height ) : string |
Crops the image to the given size, saves, and returns the url of the final blob
|
|
Edit ( Profile profile, string roles, System.Web.HttpPostedFileBase image, bool isInstructor = false ) : System.Web.Mvc.ActionResult |
public Create ( ) : System.Web.Mvc.ActionResult | ||
return | System.Web.Mvc.ActionResult |
public Crop ( ) : System.Web.Mvc.ActionResult | ||
return | System.Web.Mvc.ActionResult |
public Edit ( ) : System.Web.Mvc.ActionResult | ||
return | System.Web.Mvc.ActionResult |
public Picture ( ) : System.Web.Mvc.ActionResult | ||
return | System.Web.Mvc.ActionResult |
public ProfileController ( IRepositoryFactory repositoryFactory, IFileService fileService, INotificationService notificationService ) : System | ||
repositoryFactory | IRepositoryFactory | |
fileService | IFileService | |
notificationService | INotificationService | |
return | System |
public ViewProfileImage ( System.Guid profileId ) : System.Web.Mvc.ActionResult | ||
profileId | System.Guid | profileID, optional |
return | System.Web.Mvc.ActionResult |