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