コード例 #1
0
 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;
 }
コード例 #2
0
 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;
 }