metod Extend
This commit is contained in:
@@ -24,7 +24,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);
|
||||
string contractStart, string contractEnd);
|
||||
//void CreateCkeckout(Checkout command);
|
||||
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@ public interface ICheckoutApplication
|
||||
/// <param name="employeeId"></param>
|
||||
/// <returns></returns>
|
||||
Task<CreateCheckout> GetContractResultToCreateCheckout(long workshopId, string year, string month,
|
||||
string contractStart, string contractEnd, long employeeId);
|
||||
string contractStart, string contractEnd);
|
||||
Task<List<CheckoutViewModel>> Search(CheckoutSearchModel searchModel);
|
||||
List<CheckoutViewModel> SimpleSearch(CheckoutSearchModel searchModel);
|
||||
List<CheckoutViewModel> PrintAll(List<long> id);
|
||||
|
||||
@@ -240,10 +240,10 @@ public class CheckoutApplication : ICheckoutApplication
|
||||
}
|
||||
|
||||
public async Task<CreateCheckout> GetContractResultToCreateCheckout(long workshopId, string year, string month,
|
||||
string contractStart, string contractEnd, long employeeId)
|
||||
string contractStart, string contractEnd)
|
||||
{
|
||||
return await _checkoutRepository.GetContractResultToCreateCheckout(workshopId, year, month, contractStart,
|
||||
contractEnd, employeeId);
|
||||
contractEnd);
|
||||
|
||||
}
|
||||
public async Task<List<CheckoutViewModel>> Search(CheckoutSearchModel searchModel)
|
||||
|
||||
@@ -125,8 +125,10 @@ public class CheckoutRepository : RepositoryBase<long, Checkout>, ICheckoutRepos
|
||||
|
||||
|
||||
public Task<CreateCheckout> GetContractResultToCreateCheckout(long workshopId, string year, string month, string contractStart,
|
||||
string contractEnd, long employeeId)
|
||||
string contractEnd)
|
||||
{
|
||||
|
||||
var contracts = _context.Contracts.Where(x => x.WorkshopIds == workshopId);
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user