using Back.Program.Common.Data; using Back.Program.Models.Entities; using Back.Program.Repositories.V1.Interfaces; using Microsoft.EntityFrameworkCore; namespace Back.Program.Repositories.V1; public class ClassRepository(AppDbContext context): IClassRepository { public async Task FindClassInfo(string cid) { return await context.Class_Info.FirstOrDefaultAsync(c => c.id == cid); } //return _context.Login.FirstOrDefaultAsync(l => l.sns_type == accType && l.sns_id == snsId); public async Task FindClassAttendance(string cid, string uid) { throw new NotImplementedException(); } public async Task FindClassMap(string cid) { throw new NotImplementedException(); } }