/// <summary> /// injects the db into the class /// </summary> /// <param name="context"> Database</param> public PaintService(HobbyListDbContext context) { _context = context; }
/// <summary> /// injects the db into the class /// </summary> /// <param name="context"> Database</param> public MiniWishListService(HobbyListDbContext context) { _context = context; }
public MiniModelService(HobbyListDbContext context, IPaint paint, ISupply supply) { _context = context; _paint = paint; _supply = supply; }