public BarberEquipmentModel UpdateBarber(BarberEquipmentModel model)
        {
            var barberEquipment = _mapper.Map <BarberEquipment>(model);

            var updatedBarberEquipment = _barberEquipmentRepository.Update(barberEquipment);

            return(_mapper.Map <BarberEquipmentModel>(updatedBarberEquipment));
        }
        public BarberEquipmentViewModel GetById(int id)
        {
            BarberEquipmentModel model = _barberEquipmentService.GetById(id);

            return(_mapper.Map <BarberEquipmentViewModel>(model));
        }
        public void Create(BarberEquipmentModel model)
        {
            var barberEquipment = _mapper.Map <BarberEquipment>(model);

            _barberEquipmentRepository.Create(barberEquipment);
        }