public static CommentManager GetInstance(ApplicationDbContext context) { if (manager == null) { manager = new CommentManager(context); } return(manager); }
public void Dispose() { manager = null; }