// Not used according to static analysis //private IUserRepository ur; public GroupRepository() : this(ContextHelper.GetContext()) { }
public UserRepository() { db = ContextHelper.GetContext(); }
public PostRepository() : this(ContextHelper.GetContext()) { }
/* * Name: UserRepository * Description: Set up the controller for web deployment with a * concrete SocialContext, WebSecurity, PostRepository * and GroupRepository. * Arguments: None. */ public UserRepository() : this(ContextHelper.GetContext(), new WebSecurityWrapper(), new PostRepository(), new GroupRepository()) { }