regular-commit
This commit is contained in:
parent
b84da3b29a
commit
908715ff15
12
Presence.Desktop/Models/GroupSubjectPresenter.cs
Normal file
12
Presence.Desktop/Models/GroupSubjectPresenter.cs
Normal 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
|
||||
{
|
||||
}
|
||||
}
|
12
Presence.Desktop/Models/PresencePresenter.cs
Normal file
12
Presence.Desktop/Models/PresencePresenter.cs
Normal 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
|
||||
{
|
||||
}
|
||||
}
|
12
Presence.Desktop/Models/SemesterPresenter.cs
Normal file
12
Presence.Desktop/Models/SemesterPresenter.cs
Normal 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
|
||||
{
|
||||
}
|
||||
}
|
12
Presence.Desktop/Models/VisitPresenter.cs
Normal file
12
Presence.Desktop/Models/VisitPresenter.cs
Normal 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
|
||||
{
|
||||
}
|
||||
}
|
13
data/Repository/SQLPresenceRepository.cs
Normal file
13
data/Repository/SQLPresenceRepository.cs
Normal 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;
|
||||
}
|
||||
}
|
25
domain/Service/PresenceService.cs
Normal file
25
domain/Service/PresenceService.cs
Normal 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();
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user