private DataEntryDataContract GetDataEntryDataContractWithErrors()
        {
            var dataContract = new DataEntryDataContract
            {
                CostCode  = null,
                EndDate   = null,
                Money     = null,
                StartDate = null,
                SourceId  = newSourceId,
                EntryId   = newEntryId
            };

            return(dataContract);
        }
        private DataEntryDataContract GetDataEntryDataContractWithoutErrors()
        {
            var dataContract = new DataEntryDataContract
            {
                CostCode  = "CostCode",
                Money     = 123.9M,
                StartDate = DateTime.Now,
                SourceId  = newSourceId,
                RowNo     = 1,
                Units     = 123.0M,
                EntryId   = newEntryId
            };

            dataContract.EndDate = dataContract.StartDate;
            return(dataContract);
        }