Hi I am creating custom user store as:
public class UserStore<TKey> : IUserStore<User<TKey>>
{
private DbConnection _connection;
/// <summary>
/// Database connection for User
/// </summary>
/// <value>The connection.</value>
public DbConnection Connection {
get { return _connection; }
set {
if ( value == null )
throw new ArgumentNullException( _emsg_ConnectioIsRequired );
_connection = value;
}
}
public UserStore( DbConnection connection ) {
Connection = connection;
}
#region IUserStore implementation
//Implementation goes here
#end region
}
Then in my account controller I need to instantiate this user store to which I am having problems.
I have something like this:
namespace Web.Controllers
{
public class AccountController : Controller
{
public AccountController ...
Go to the complete details ...