using DbContextLib; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Shared { public class DataService : IdataService where TUser : class { private UserDbContext _dbContext; public DataService(UserDbContext userDbContext, IUserService userService, ILessonService lessonService, IInquiryService inquiryService, IParagraphService paragrapheService, ISuccessService sucessService) { this._dbContext = userDbContext; this.inquiryService = inquiryService; this.lessonService = lessonService; this.paragraphService = paragrapheService; this.successDataService = sucessService; this.userService = userService; } public IUserService userService { get; } public IInquiryService inquiryService { get; } public ILessonService lessonService { get; } public IParagraphService paragraphService { get; } public ISuccessService successDataService { get; } } }