regular-commit

This commit is contained in:
1eG0ist 2024-12-12 22:47:32 +03:00
parent b84da3b29a
commit 908715ff15
6 changed files with 86 additions and 0 deletions

View File

@ -0,0 +1,12 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Presence.Desktop.Models
{
internal class GroupSubjectPresenter
{
}
}

View File

@ -0,0 +1,12 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Presence.Desktop.Models
{
internal class PresencePresenter
{
}
}

View File

@ -0,0 +1,12 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Presence.Desktop.Models
{
internal class SemesterPresenter
{
}
}

View File

@ -0,0 +1,12 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Presence.Desktop.Models
{
class VisitPresenter
{
}
}

View File

@ -0,0 +1,13 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace data.Repository
{
public class SQLPresenceRepository
{
private readonly RemoteDatabaseContext _dbContext;
}
}

View File

@ -0,0 +1,25 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Data.DAO;
using data.Repository;
namespace domain.Service
{
class PresenceService
{
private readonly SQLPresenceRepository _presenceRepository;
public PresenceService(SQLPresenceRepository presenceRepository)
{
_presenceRepository = presenceRepository;
}
public List<Attendance> GetAllAttendances()
{
return _presenceRepository.GetAllPresences().ToList();
}
}
}