C# Class EGSW.Web.Controllers.AccountController

Inheritance: Controller
Show file Open project: careerengine/EGSW-Project

Private Properties

Property Type Description
AddErrors void
AddressAdd System.Web.Mvc.ActionResult
AddressEdit System.Web.Mvc.ActionResult
AjaxLogin System.Web.Mvc.ActionResult
AjaxLogin System.Web.Mvc.ActionResult
ChangePassword System.Web.Mvc.ActionResult
CustomerNavigation System.Web.Mvc.ActionResult
ForgotPassword System.Web.Mvc.ActionResult
ForgotPassword System.Web.Mvc.ActionResult
Info System.Web.Mvc.ActionResult
Login System.Web.Mvc.ActionResult
Login System.Web.Mvc.ActionResult
RedirectToLocal System.Web.Mvc.ActionResult
Register System.Web.Mvc.ActionResult
Register System.Web.Mvc.ActionResult
ResetPassword System.Web.Mvc.ActionResult
ResetPassword System.Web.Mvc.ActionResult
ResetPasswordConfirmation System.Web.Mvc.ActionResult

Public Methods

Method Description
AccountController ( ICustomerService customerService, IWorkContext workContext, System.Web.HttpContextBase httpContext, IAuthenticationService authenticationService, IWebHelper webHelper, IAddressService addressService, IWorkflowMessageService workflowMessageService, IZipCodeService zipCodeService ) : System
AddressAdd ( ) : System.Web.Mvc.ActionResult
AddressDelete ( int addressId ) : System.Web.Mvc.ActionResult
AddressEdit ( int addressId ) : System.Web.Mvc.ActionResult
Addresses ( ) : System.Web.Mvc.ActionResult
ChangePassword ( ) : System.Web.Mvc.ActionResult
Info ( ) : System.Web.Mvc.ActionResult
LogOff ( ) : System.Web.Mvc.ActionResult
RenderPartialViewToString ( string viewName, object model ) : string

Protected Methods

Method Description
PrepareCustomerInfoModel ( CustomerInfoModel model, Customer customer ) : void
PrepareModel ( AddressModel model, Address address ) : void

Private Methods

Method Description
AddErrors ( Microsoft.AspNet.Identity.IdentityResult result ) : void
AddressAdd ( AddressModel model, System.Web.Mvc.FormCollection form ) : System.Web.Mvc.ActionResult
AddressEdit ( AddressModel model, int addressId, System.Web.Mvc.FormCollection form ) : System.Web.Mvc.ActionResult
AjaxLogin ( AjaxLoginViewModel model, string returnUrl ) : System.Web.Mvc.ActionResult
AjaxLogin ( string returnUrl ) : System.Web.Mvc.ActionResult
ChangePassword ( ChangePasswordViewModel model ) : System.Web.Mvc.ActionResult
CustomerNavigation ( int selectedTabId ) : System.Web.Mvc.ActionResult
ForgotPassword ( ) : System.Web.Mvc.ActionResult
ForgotPassword ( ForgotPasswordViewModel model ) : System.Web.Mvc.ActionResult
Info ( CustomerInfoModel model, System.Web.Mvc.FormCollection form ) : System.Web.Mvc.ActionResult
Login ( LoginViewModel model, string returnUrl ) : System.Web.Mvc.ActionResult
Login ( string returnUrl ) : System.Web.Mvc.ActionResult
RedirectToLocal ( string returnUrl ) : System.Web.Mvc.ActionResult
Register ( ) : System.Web.Mvc.ActionResult
Register ( RegisterViewModel model ) : System.Web.Mvc.ActionResult
ResetPassword ( string token, string email ) : System.Web.Mvc.ActionResult
ResetPassword ( string token, string email, ResetPasswordViewModel model ) : System.Web.Mvc.ActionResult
ResetPasswordConfirmation ( ) : System.Web.Mvc.ActionResult

Method Details

AccountController() public method

public AccountController ( ICustomerService customerService, IWorkContext workContext, System.Web.HttpContextBase httpContext, IAuthenticationService authenticationService, IWebHelper webHelper, IAddressService addressService, IWorkflowMessageService workflowMessageService, IZipCodeService zipCodeService ) : System
customerService ICustomerService
workContext IWorkContext
httpContext System.Web.HttpContextBase
authenticationService IAuthenticationService
webHelper IWebHelper
addressService IAddressService
workflowMessageService IWorkflowMessageService
zipCodeService IZipCodeService
return System

AddressAdd() public method

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

AddressDelete() public method

public AddressDelete ( int addressId ) : System.Web.Mvc.ActionResult
addressId int
return System.Web.Mvc.ActionResult

AddressEdit() public method

public AddressEdit ( int addressId ) : System.Web.Mvc.ActionResult
addressId int
return System.Web.Mvc.ActionResult

Addresses() public method

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

ChangePassword() public method

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

Info() public method

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

LogOff() public method

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

PrepareCustomerInfoModel() protected method

protected PrepareCustomerInfoModel ( CustomerInfoModel model, Customer customer ) : void
model EGSW.Web.Models.Customers.CustomerInfoModel
customer EGSW.Data.Customer
return void

PrepareModel() protected method

protected PrepareModel ( AddressModel model, Address address ) : void
model EGSW.Web.Models.Customers.AddressModel
address EGSW.Data.Address
return void

RenderPartialViewToString() public method

public RenderPartialViewToString ( string viewName, object model ) : string
viewName string
model object
return string