JordanRift.Grassroots.Web.Controllers.AccountController.AccountController C# (CSharp) Method

AccountController() public method

public AccountController ( IUserProfileRepository userProfileRepository, IAccountMailer accountMailer, ICampaignDonorRepository campaignDonorRepository ) : System
userProfileRepository IUserProfileRepository
accountMailer IAccountMailer
campaignDonorRepository ICampaignDonorRepository
return System
        public AccountController(IUserProfileRepository userProfileRepository, IAccountMailer accountMailer, ICampaignDonorRepository campaignDonorRepository)
        {
            this.accountMailer = accountMailer;
            this.userProfileRepository = userProfileRepository;
            this.campaignDonorRepository = campaignDonorRepository;
            Mapper.CreateMap<RegisterModel, UserProfile>();
            Mapper.CreateMap<UserProfile, RegisterModel>();
        }