Beispiel #1
0
 //private readonly ApplicationDbContext _dbContext;
 //public DoctorController(ApplicationDbContext dbContext, IEntityAdapterFactory factory) : base(factory)
 //{
 //    this._dbContext = dbContext;
 //}
 public DoctorController(IEntityAdapterFactory factory, UserManager <ApplicationUser> userManager) : base(factory)
 {
     _userManager = userManager;
 }
 protected ParentControllerBase(IEntityAdapterFactory factory)
 {
     _adapter = factory.Get <TEntity, TPrimaryKey>();
 }