public ScriptCreationService([NotNull] IWorkUnitFactory workUnitFactory, [NotNull] IVisualStudioAccess visualStudioAccess, [NotNull] ILogger logger) : base(logger) { _workUnitFactory = workUnitFactory ?? throw new ArgumentNullException(nameof(workUnitFactory)); _visualStudioAccess = visualStudioAccess ?? throw new ArgumentNullException(nameof(visualStudioAccess)); }
public FoodDescriptionController() { _repo = new FoodDescriptionRepo(); _factory = new WorkUnitFactory(); }