create change

This commit is contained in:
SamSys
2025-05-25 15:33:42 +03:30
parent 9e91214941
commit 9311d68a91
2 changed files with 3 additions and 3 deletions

View File

@@ -25,7 +25,7 @@ public interface ICheckoutRepository : IRepository<long, Checkout>
Task CreateCkeckout(Checkout command);
Task<CreateCheckout> GetContractResultToCreateCheckout(long workshopId, string year, string month,
string contractStart, string contractEnd, long employeeId);
void CreateCkeckout(Checkout command);
//void CreateCkeckout(Checkout command);

View File

@@ -123,14 +123,14 @@ public class CheckoutRepository : RepositoryBase<long, Checkout>, ICheckoutRepos
.FirstOrDefault(x => x.Id == id);
}
public async Task CreateCkeckout(Checkout command)
public Task<CreateCheckout> GetContractResultToCreateCheckout(long workshopId, string year, string month, string contractStart,
string contractEnd, long employeeId)
{
throw new NotImplementedException();
}
public void CreateCkeckout(Checkout command)
public async Task CreateCkeckout(Checkout command)
{
var creationDates = DateTime.Now;