Ejemplo n.º 1
0
        public async Task <ContractEntity> ContractGetContract(Guid contractUID)
        {
            var contract = await ContractRepository.ContactGetContract(contractUID);

            return(new ContractEntity()
            {
                EmployeeUID = contract.Employee.EmployeeUID,
                ContractUID = contract.ContractUID,
                ContractNumber = contract.ContractNumber,
                ContractType = contract.ContractType,
                ContractStartDate = contract.ContractStartDate,
                ContractEndDate = contract.ContractEndDate,
            });
        }