Esempio n. 1
0
        // Skapa en ny Utrustningstyp
        public string CreateEquipmentType(EquipmentType eqType)
        {
            var currentNames = _marketData.GetEquipmentTypeNames();

            if (currentNames.Contains(eqType.Name))
            {
                return("Denna Utrustningstyp finns redan");
            }

            return(_marketData.CreateEquipmentType(eqType));
        }