public ProfileController( IIdentityService identityService, IProfileTasks userTasks, ICategoryTasks categoryTasks, IMapper <Profile, ViewProfilePageViewModel> viewProfilePageViewModelMapper, IMapper <Profile, IList <Category>, UpdateProfilePageViewModel> updateProfilePageViewModelMapper, ICreateProfilePageViewModelBuilder createProfilePageViewModelBuilder) { this.identityService = identityService; this.createProfilePageViewModelBuilder = createProfilePageViewModelBuilder; this.userTasks = userTasks; this.categoryTasks = categoryTasks; this.viewProfilePageViewModelMapper = viewProfilePageViewModelMapper; this.updateProfilePageViewModelMapper = updateProfilePageViewModelMapper; }
public ProfileController( IIdentityService identityService, IProfileTasks userTasks, ICategoryTasks categoryTasks, IMapper<Profile, ViewProfilePageViewModel> viewProfilePageViewModelMapper, IMapper<Profile, IList<Category>, UpdateProfilePageViewModel> updateProfilePageViewModelMapper, ICreateProfilePageViewModelBuilder createProfilePageViewModelBuilder) { this.identityService = identityService; this.createProfilePageViewModelBuilder = createProfilePageViewModelBuilder; this.userTasks = userTasks; this.categoryTasks = categoryTasks; this.viewProfilePageViewModelMapper = viewProfilePageViewModelMapper; this.updateProfilePageViewModelMapper = updateProfilePageViewModelMapper; }