Пример #1
0
        public List <contract> GetCountContractThisYear()
        {
            var startYear = ConvertDatetime.GetBeginYearUnixTimeStamp();
            var endYear   = ConvertDatetime.GetEndYearUnixTimeStamp();

            return(ContractRepository.FindBy(p => startYear <= p.created_date && p.created_date <= endYear).ToList());
        }