public OrdenesRepository(IServicesDBContext ctx) { this.ctx = ctx; }
public UsuariosRepository(IServicesDBContext ctx) { this.ctx = ctx; _userManager = new UserManager <IdentityUser>(new UserStore <IdentityUser>(ctx as System.Data.Entity.DbContext)); }