Esempio n. 1
0
 public UnitOfWork(MyResumeContext context)
 {
     _context    = context;
     Experiences = new ExperienceRepository(_context);
     Skills      = new SkillRepository(_context);
     MyProfile   = new MyProfileRepository(_context);
 }
Esempio n. 2
0
 public webMyProfileApiController(IMyProfileRepository myProfileRepository, IUnitOfWork unitOfWork)
 {
     this.myProfileRepository = myProfileRepository;
     unitofwork = unitOfWork;
 }