public CvController(ICvService cvService) { if (cvService == null) { throw new ArgumentNullException(nameof(cvService)); } this._cvService = cvService; }
public CvServiceTests() { var options = new DbContextOptionsBuilder <JobDbContext>() .UseInMemoryDatabase(Guid.NewGuid().ToString()) .Options; _context = new JobDbContext(options); _accessor = new HttpContextAccessor(); this._cvService = new CvService(_context, _accessor); }
public HomeController(ICvService cvService) { this.cvService = cvService; }
public CvController(ICvService cvService) { _cvService = cvService; }
/// <summary> /// This is the constructor of the ProjectService class /// </summary> /// <param name="context">Data base context</param> /// <param name="userService">The service that is responsible for the user</param> /// <param name="cvService">The service that is responsible for the CVs</param> public ProjectService(JobApplicationDbContext context, IUserService userService, ICvService cvService) { this.context = context; this.userService = userService; this.cvService = cvService; }
public SigtCvController(ICvService <CvDTO> cvService) { _cvService = cvService; }
public CvController(ICvService service) => this.service = service;
/// <summary> /// This is the constructor of the CvsController class. /// </summary> /// <param name="UserService">The service, responsible for the User</param> /// <param name="CVService">The service, responsible for the CV</param> /// <param name="context">Data base context</param> public CvsController(IUserService UserService, ICvService CVService, JobApplicationDbContext context) { this.UserService = UserService; this.CVService = CVService; this.context = context; }