public DbContext Connect() { var response = new RefactorMeContext(); response.Database.CommandTimeout = 600; return(response); }
public async Task <DbContext> ConnectAsync() { var response = new RefactorMeContext(); response.Database.CommandTimeout = 600; return(await Task .FromResult(response).ConfigureAwait(false)); }