Ejemplo n.º 1
0
 //Uncomment the following method after scaffolding Models
 public HospitalController(CureWellContext context, IMapper mapper)
 {
     //To Do: Implement appropriate logic
     _context = context;
     _mapper  = mapper;
     repObj   = new CureWellRepository(_context);
 }
 public CureWellController(IMapper mapper, CureWellRepository repository)
 {
     //To Do: Implement appropriate logic
     _mapper     = mapper;
     _repository = repository;
 }