public static SmsServiceUserManager Create(IdentityFactoryOptions <SmsServiceUserManager> options, IOwinContext context) { SmsServiceContext db = context.Get <SmsServiceContext>(); SmsServiceUserManager manager = new SmsServiceUserManager(new UserStore <SmsServiceUser>(db)); return(manager); }
public GenericRepository(SmsServiceContext context) { this._context = context; this._dbSet = context.Set <T>(); }