public StarRepository(StarSystemContext context) { _context = context; }
public StarsController(StarSystemContext context) { _context = context; }
/// <summary> /// Create a new instance of <see cref="StarDescRepository" />. /// </summary> /// <param name="transaction">Active transaction</param> /// <exception cref="ArgumentNullException">transaction</exception> public StarDescRepository() { _context = new StarSystemContext(); }