}                                                           //TODO: Form check for admin - can be attacked


        public ProfileViewModel(IApplicationUserDataService applicationUserDataService)
        {
            _applicationUserDataService = applicationUserDataService;
            LoggedInUser = new ApplicationUserViewModel();
        }
 public AdminOverviewModel(IApplicationUserDataService applicationUserDataService)
 {
     _applicationUserDataService = applicationUserDataService;
 }
 public Transporter_CreateModel(ITransporterDataService transporterDataService, IMapper mapper, IApplicationUserDataService applicationUserDataService)
 {
     _transporterDataService = transporterDataService;
     _mapper = mapper;
     _applicationUserDataService = applicationUserDataService;
 }
예제 #4
0
 public UserViewComponent(ITransporterDataService transporterDataService, IApplicationUserDataService applicationUserDataService, ILogger <UserViewComponent> logger)
 {
     _transporterDataService     = transporterDataService;
     _applicationUserDataService = applicationUserDataService;
     _logger = logger;
 }