protected BaseService(UserManager <User> userManager, RobotsWorldContext context, IMapper mapper) { this.UserManager = userManager; this.Context = context; this.Mapper = mapper; }
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(); }
public VendorService(UserManager <User> userManager, RobotsWorldContext context, IMapper mapper) : base(userManager, context, mapper) { }
public SubAssemblyService(UserManager <User> userManager, RobotsWorldContext context, IMapper mapper) : base(userManager, context, mapper) { }
public DeliveryService(UserManager <User> userManager, RobotsWorldContext context, IMapper mapper, ITransportTypeService transportTypeService) : base(userManager, context, mapper) { this.transportTypeService = transportTypeService; }
public PartService(UserManager <User> userManager, RobotsWorldContext context, IMapper mapper, IVendorService vendorService, ISubAssemblyService subAssemblyService) : base(userManager, context, mapper) { this.vendorService = vendorService; this.subAssemblyService = subAssemblyService; }
public ChatHub(RobotsWorldContext db) { this.db = db; }
public AdminService(UserManager<User> userManager, RobotsWorldContext context, IMapper mapper, RoleManager<IdentityRole> roleManager) : base(userManager, context, mapper) { this.roleManager = roleManager; }
public TransportTypeService(UserManager <User> userManager, RobotsWorldContext context, IMapper mapper) : base(userManager, context, mapper) { }
public UserService(SignInManager <User> signInManager, UserManager <User> userManager, RobotsWorldContext context, IMapper mapper) : base(userManager, context, mapper) { this.signInManager = signInManager; }