Esempio n. 1
0
        protected BaseService(UserManager <User> userManager,
                              RobotsWorldContext context,
                              IMapper mapper)
        {
            this.UserManager = userManager;

            this.Context = context;
            this.Mapper  = mapper;
        }
Esempio n. 2
0
        public void SetUp()
        {
            Mapper.Reset();
            Mapper.Initialize(x => { x.AddProfile <MapperProfile>(); });
            var services = SetServices();

            this.Provider = services.BuildServiceProvider();
            this.Context  = this.Provider.GetRequiredService <RobotsWorldContext>();
            SetScoppedServiceProvider();
        }
Esempio n. 3
0
 public VendorService(UserManager <User> userManager, RobotsWorldContext context, IMapper mapper) : base(userManager, context, mapper)
 {
 }
Esempio n. 4
0
 public SubAssemblyService(UserManager <User> userManager, RobotsWorldContext context, IMapper mapper)
     : base(userManager, context, mapper)
 {
 }
Esempio n. 5
0
 public DeliveryService(UserManager <User> userManager, RobotsWorldContext context, IMapper mapper, ITransportTypeService transportTypeService)
     : base(userManager, context, mapper)
 {
     this.transportTypeService = transportTypeService;
 }
Esempio n. 6
0
 public PartService(UserManager <User> userManager, RobotsWorldContext context, IMapper mapper, IVendorService vendorService, ISubAssemblyService subAssemblyService)
     : base(userManager, context, mapper)
 {
     this.vendorService      = vendorService;
     this.subAssemblyService = subAssemblyService;
 }
Esempio n. 7
0
 public ChatHub(RobotsWorldContext db)
 {
     this.db = db;
 }
Esempio n. 8
0
 public AdminService(UserManager<User> userManager, RobotsWorldContext context, IMapper mapper, RoleManager<IdentityRole> roleManager) : base(userManager, context, mapper)
 {
     this.roleManager = roleManager;
 }
Esempio n. 9
0
 public TransportTypeService(UserManager <User> userManager, RobotsWorldContext context, IMapper mapper) : base(userManager, context, mapper)
 {
 }
Esempio n. 10
0
 public UserService(SignInManager <User> signInManager, UserManager <User> userManager, RobotsWorldContext context, IMapper mapper)
     : base(userManager, context, mapper)
 {
     this.signInManager = signInManager;
 }