public ResponseWrapper <object> AddEquipmentType(string equipmentName)
        {
            try
            {
                var freeId       = GetEquipmentTypeFreeId();
                var newEquipment = new EquipmentTypes
                {
                    typeId   = freeId,
                    typeName = equipmentName
                };

                equipmentTypeRepository.AddEquipmentType(newEquipment);
                equipmentTypeRepository.Save();
                return(new ResponseWrapper <object>("OK", true));
            }
            catch (Exception e)
            {
                return(new ResponseWrapper <object>(e.Message, false));
            }
        }
 public EquipmentType AddEquipmentType(EquipmentType equipmentType)
 {
     return(_equipmentTypeRepository.AddEquipmentType(equipmentType));
 }