public MessageController(IUserBusinessService userBusinessService, IMessageBusinessService messageBusinessService, IMapper mapper, IWebHostEnvironment hostEnvironment) : base(mapper, hostEnvironment) { this.userBusinessService = userBusinessService; this.messageBusinessService = messageBusinessService; }
public AdminController(IMapper mapper, IBookBusinessService bookBusinessService, IUserBusinessService userBusinessService) { this.bookBusinessService = bookBusinessService; this.userBusinessService = userBusinessService; this.mapper = mapper; }
public EbsApiController(IUserBusinessService userBusinessService, IMapper mapper, IWebHostEnvironment hostEnvironment) { this.userBusinessService = userBusinessService; this.folder = Path.Combine(hostEnvironment.WebRootPath, "files"); this.mapper = mapper; }
public BookController(IBookBusinessService bookBusinessService, IMapper mapper, IWebHostEnvironment hostEnvironment, IUserBusinessService userBusinessService) : base(mapper, hostEnvironment) { this.bookBusinessService = bookBusinessService; this.userBusinessService = userBusinessService; }
public BaseAuthorizationController(IUserBusinessService userBusinessService) { this._config = new MapperConfiguration( cfg => { cfg.CreateMap <User, BusinessService.Models.User>().ReverseMap(); }); this._mapper = new Mapper(this._config); this.UsersService = userBusinessService; this.SetCurrentUser(); }
public UserController(IUserBusinessService userBusinessService, IMapper mapper, IWebHostEnvironment hostEnvironment, IBookBusinessService bookBusinessService, IConfiguration configuration) : base(mapper, hostEnvironment) { this.userBusinessService = userBusinessService; this.bookBusinessService = bookBusinessService; this.configuration = configuration; }
public EbsApiController(IAdminBusinessService adminBusinessService, IUserBusinessService userBusinessService, IBookBusinessService bookBusinessService, IMapper mapper, IWebHostEnvironment hostEnvironment) { this.adminBusinessService = adminBusinessService; this.userBusinessService = userBusinessService; this.bookBusinessService = bookBusinessService; this.hostEnvironment = hostEnvironment; this.mapper = mapper; }
public CompanyController( ICompanyBusinessService companyBusinessService, IUserBusinessService userBusinessService) : base(userBusinessService) { this._companyBusinessService = companyBusinessService; this._config = new MapperConfiguration( cfg => { cfg.CreateMap <Company, BusinessService.Models.Company>().ReverseMap(); }); this._mapper = new Mapper(this._config); }
public DriverController(IDriverBusinessService driverBusinessService, IUserBusinessService userBusinessService) : base(userBusinessService) { _driverBusinessService = driverBusinessService; _config = new MapperConfiguration(cfg => { cfg.CreateMap <Company, BusinessService.Models.Company>().ReverseMap(); cfg.CreateMap <Driver, BusinessService.Models.Driver>() .ForMember(x => x.Company, b => b.ResolveUsing(c => c.Company)).ReverseMap(); }); _mapper = new Mapper(_config); }
public VehicleController(IVehicleBusinessService vehicleBusinessService, IUserBusinessService userBusinessService) : base(userBusinessService) { _vehicleBusinessService = vehicleBusinessService; _config = new MapperConfiguration(cfg => { cfg.CreateMap <Company, BusinessService.Models.Company>().ReverseMap(); cfg.CreateMap <Driver, BusinessService.Models.Driver>().ReverseMap(); cfg.CreateMap <Vehicle, BusinessService.Models.Vehicle>() .ForMember(v => v.Company, b => b.ResolveUsing(c => c.Company)) .ForMember(v => v.Driver, b => b.ResolveUsing(c => c.Driver)) .ReverseMap(); }); _mapper = new Mapper(_config); }
public ServiceController( IServiceBusinessService serviceBusinessService, IVehicleBusinessService vehicleBusinessService, IUserBusinessService userBusinessService) : base(userBusinessService) { this._serviceBusinessService = serviceBusinessService; this._vehicleBusinessService = vehicleBusinessService; this._config = new MapperConfiguration( cfg => { cfg.CreateMap <Service, BusinessService.Models.Service>().ReverseMap(); cfg.CreateMap <EditService, BusinessService.Models.EditService>().ReverseMap(); }); this._mapper = new Mapper(this._config); }
public RegistrationPageViewModel(INavigationService navigationService, ISettings settings, IUserBusinessService userBusinessService) : base(navigationService, settings) { if (navigationService == null) { throw new ArgumentNullException("navigationService"); } if (settings == null) { throw new ArgumentNullException("settings"); } if (userBusinessService == null) { throw new ArgumentNullException("userBusinessService"); } _userBusinessService = userBusinessService; _navigationService = navigationService; _settings = settings; }
public AdminController(IAdminBusinessService adminBusinessService, IUserBusinessService userBusinessService, IBookBusinessService bookBusinessService, IMapper mapper, IWebHostEnvironment hostEnvironment) : base(adminBusinessService, userBusinessService, bookBusinessService, mapper, hostEnvironment) { }
public UsersController(IUserBusinessService UserBusinessService) { this.userBusinessService = UserBusinessService; }
public UserController(IUserBusinessService userBusinessService, IMapper mapper, IWebHostEnvironment hostEnvironment) : base(userBusinessService, mapper, hostEnvironment) { }
public TransactionController(IBookBusinessService bookBusinessService, IUserBusinessService userBusinessService, IMapper mapper, IWebHostEnvironment hostEnvironment) : base(bookBusinessService, mapper, hostEnvironment, userBusinessService) { }
public APIOAuthProvider(IUserBusinessService userService, string publicClientId) { _userService = userService; publicClientId = publicClientId ?? throw new ArgumentNullException("publicClientId"); _publicClientId = publicClientId; }
public UserService(IUserBusinessService userData) { this.userData = userData; }
public UsersController() { this.userBusinessService = new UserBusinessService(); }
public HomeController(IUserBusinessService _userBusinessService) { this._userBusinessService = _userBusinessService; }
public UserController(IUserBusinessService userBusinessService) : base(userBusinessService) { this._config = new MapperConfiguration(cfg => { cfg.CreateMap <Models.User, User>().ReverseMap(); }); this._mapper = new Mapper(this._config); }
public UserController(IUserBusinessService userBusinessService) : base(userBusinessService) { _userBusinessService = userBusinessService; }
public TelematicsDataController(ITelematicsBusinessService telematicsBusinessService, IVehicleBusinessService vehicleBusinessService, IUserBusinessService userBusinessService) : base(userBusinessService) { _telematicsBusinessService = telematicsBusinessService; _vehicleBusinessService = vehicleBusinessService; _config = new MapperConfiguration(cfg => { cfg.CreateMap <TelematicsData, BusinessService.Models.TelematicsData>().ReverseMap(); }); _mapper = new Mapper(_config); }
public AccountController(ApplicationUserManager userManager, IUserBusinessService userBusinessService) : base(userBusinessService) { this.UserManager = userManager; }
public void BuildUserService(IUserBusinessService userService) { _parameter.UserService = userService; }