// get contracttypes for drop down lists
        public List <ContractType> GetContractTypeList()
        {
            try
            {
                var contractTypeList = CustomerAccessor.FetchContractTypeList();

                if (contractTypeList.Count > 0)
                {
                    return(contractTypeList);
                }
                else
                {
                    throw new ApplicationException("No records found");
                }
            }
            catch (Exception)
            {
                throw;
            }
        }