public bool AddContractualEmployeeReward(ContractualEmployeeReward contractualEmployeeReward) { contractualEmployeeReward.NationalCode = this.NationalCode; ContractualEmployeeRewardDBAccess contractualEmployeeRewardDBAccess = new ContractualEmployeeRewardDBAccess(); if (contractualEmployeeRewardDBAccess.Insert(contractualEmployeeReward) > 0) { return(true); } return(false); }
public bool AddContractualEmployeeReward(ContractualEmployeeReward contractualEmployeeReward) { contractualEmployeeReward.MonthTypeID = this.MonthTypeID; ContractualEmployeeRewardDBAccess contractualEmployeeRewardDBAccess = new ContractualEmployeeRewardDBAccess(); if (contractualEmployeeRewardDBAccess.Insert(contractualEmployeeReward) > 0) { return(true); } return(false); }
// This fuction does not contain any business logic, it simply returns the // list of contractualEmployeeRewards, we can put some logic here if needed public List <ContractualEmployeeReward> SearchLike(ContractualEmployeeReward contractualEmployeeReward) { return(contractualEmployeeRewardDb.SearchLike(contractualEmployeeReward)); }
public bool Exists(ContractualEmployeeReward contractualEmployeeReward) { return(contractualEmployeeRewardDb.Exists(contractualEmployeeReward)); }
// This fuction does not contain any business logic, it simply returns the // list of contractualEmployeeRewards, we can put some logic here if needed public Int64 Insert(ContractualEmployeeReward contractualEmployeeReward) { return(contractualEmployeeRewardDb.Insert(contractualEmployeeReward)); }
// This fuction does not contain any business logic, it simply returns the // list of contractualEmployeeRewards, we can put some logic here if needed public bool Update(ContractualEmployeeReward contractualEmployeeReward) { return(contractualEmployeeRewardDb.Update(contractualEmployeeReward)); }