public DataServiceFacade(IConfiguration configuration) { var connStr = configuration.GetSection("connectionString").Value; BookmarkingDS = new BookmarkingDataService(connStr); RatingDS = new RatingDataService(connStr); UsersDS = new UsersDataService(connStr); SearchDS = new SearchDataService(connStr); }
public BookmarkController(IBookmarkingDataService dataService, IMapper mapper) { _dataService = dataService; _mapper = mapper; }