public long TakeMaterial(
            decimal quantity,
            DateTime dateOfBook,
            string numberOfBook,
            StoreGasStationOilDepotDto storeGasStationOilDepot,
            CertificateQualityRestLiteDto certificateQuality,
            EmployeeDto controller,
            EmployeeDto customer)
        {
            var man = new ExpenditureInvoiceManager(RepositoryFactory);

            return(man.TakeMaterial(
                       quantity,
                       dateOfBook,
                       numberOfBook,
                       storeGasStationOilDepot.MapTo <StoreGasStationOilDepot>(),
                       certificateQuality.Rn,
                       controller,
                       customer));
        }
        public void RemoveWarehouseQualityCertificate(long rn)
        {
            var man = new ExpenditureInvoiceManager(RepositoryFactory);

            man.Remove(rn);
        }