public DescriptionService(IDescriptionRepository descriptionRepository, IPropertySubmissionRepository propertySubmissionRepository, IDescriptionEngine descriptionEngine) { Check.If(descriptionRepository).IsNotNull(); Check.If(propertySubmissionRepository).IsNotNull(); Check.If(descriptionEngine).IsNotNull(); _descriptionRepository = descriptionRepository; _propertySubmissionRepository = propertySubmissionRepository; _descriptionEngine = descriptionEngine; }
public SVMMainController(IDescriptionRepository idrepo) { DescriptRepo = idrepo; }
public DescriptionService(IDescriptionRepository repository) { _descriptionRepository = repository; }
public SVMController(IDescriptionRepository IDescriptRepo) { IDescriptionRepo = IDescriptRepo; }
public HomeController(IDescriptionRepository idr) { DesciptionRepo = idr; }
public DescriptionsUserControl() { string connectionString = ConfigurationManager.ConnectionStrings["ConnectionString"].ConnectionString; _repository = new DescriptionRepository(connectionString); }
public ImageController(IDescriptionRepository IDescriptRepo) { this.IDescriptionRepo = IDescriptRepo; }