public static object GetContracts(Project project) { using (var myDbContext = new SomeDbContext()) { myDbContext.DoSomething();
public static object GetContracts(Project project) { _myDbContext.DoSomething();