Files
Auth/Auth.Core/Services/HR/Users/PunchService.cs
T
2026-08-05 21:15:14 +03:00

45 lines
1.2 KiB
C#

// using System;
// using System.Collections.Generic;
// using System.Linq;
// using System.Threading.Tasks;
// using Domain;
// namespace Auth.Core.Services.HR.Users;
// public class PunchService
// {
// private readonly Context context;
// public PunchService(Context context)
// {
// this.context = context;
// }
// // public async Task CreateSinglePunch(PunchVM punchVM)
// // {
// // await context.Punches.AddAsync(punchVM);
// // await context.SaveChangesAsync();
// // }
// // public async Task UpdatePunch(PunchVM punchVM)
// // {
// // context.Update(punchVM);
// // await context.SaveChangesAsync();
// // }
// // public async Task AddBulkPunches(PunchVM[] punchVMs)
// // {
// // await context.AddRangeAsync(punchVMs);
// // await context.SaveChangesAsync();
// // }
// // public async Task DetermineIfPunchAttendOrLeave() { }
// // public async Task GetPunchesInADay()
// // {
// // // Get Correct Punches ... determine if it should be attendant or leave, how many punches and get first and last , if not after midnight
// // }
// // public async Task GetAllPunches() { }
// }