Exemple #1
0
        /// <summary>
        /// Get list of printer from database.
        /// </summary>
        /// <param name="facilityKey"></param>
        public async Task <IEnumerable <PrinterResponse> > GetPrintersByFacility(Guid facilityKey)
        {
            var printers = await _printerRepository.GetPrintersByFacility(facilityKey);

            return(_mapper.Map <IEnumerable <PrinterResponse> >(printers));
        }