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