public SolutionGeneratorService(IGitService gitService, ITemplateRenderer templateRenderer, IProjectTypeConverterService projectTypeConverterService, IReferencesService referencesService) { Argument.IsNotNull(() => gitService); Argument.IsNotNull(() => templateRenderer); Argument.IsNotNull(() => projectTypeConverterService); Argument.IsNotNull(() => referencesService); _gitService = gitService; _templateRenderer = templateRenderer; _projectTypeConverterService = projectTypeConverterService; _referencesService = referencesService; }
public void TestGetById() { IReferencesService service = DALBuild.GetObj <IReferencesService>("BLL", "ReferencesService"); Console.WriteLine(service.GetById(2).SchoolName); }
public ReferencesController(ISysReferencesService _sysRefService, IReferencesService _refService, IUserProfileService userSrv) : base(userSrv) { this.sysRefService = _sysRefService; this.refService = _refService; }