コード例 #1
0
        public ManagementContract UpdateContract(ManagementContract contract, string title, DateTime startDate, DateTime endDate,
                                                 DateTime contractSignDate, string placementFeeScale, string managementFeeScale, bool solicitingOnly, string notes)
        {
            contract.Update(title, startDate, endDate, contractSignDate, placementFeeScale, managementFeeScale, solicitingOnly, notes);

            return(contract);
        }
コード例 #2
0
        public ManagementContract AddManabgementContract(int propertyId, string title, ContractType type,
                                                         DateTime startDate, DateTime endDate, string placementFeeScale, string managementFeeScale, bool solicitingOnly,
                                                         DateTime signDate, bool isActive, string notes)
        {
            var contract = new ManagementContract(title, type, startDate, endDate, placementFeeScale, managementFeeScale,
                                                  signDate, propertyId, solicitingOnly, isActive, notes, DateTime.Now, DateTime.Now);

            return(contract);
        }
コード例 #3
0
        public ManagementContract UpdateManagementContractStatus(ManagementContract contract, bool status)
        {
            var oldContract = contract.SetStatus(contract, status);

            return(oldContract);
        }
コード例 #4
0
 public void AddSignedContractFile(string filePath, ManagementContract contract)
 {
     contract.ManagementContractDocUrl = filePath;
 }
コード例 #5
0
        public ManagementContract SetStatus(ManagementContract contract, bool status)
        {
            contract.IsActive = status;

            return(contract);
        }