cleans the code

This commit is contained in:
Paul Schneider 2017-04-09 03:38:37 +02:00
commit f6819f2c5b

View file

@ -120,9 +120,7 @@ namespace Yavsc.Controllers
// a Prestation is required // a Prestation is required
model.Prestation.Taints = colors.Select(c => model.Prestation.Taints = colors.Select(c =>
new HairTaintInstance { Taint = c }).ToList(); new HairTaintInstance { Taint = c }).ToList();
_logger.LogWarning($"######### Colors!!!!! :: {colors.Count} :: "); }
} else _logger.LogWarning("######### no Colors :'(");
if (string.IsNullOrWhiteSpace(uid) if (string.IsNullOrWhiteSpace(uid)
|| string.IsNullOrWhiteSpace(prid)) || string.IsNullOrWhiteSpace(prid))
throw new InvalidOperationException( throw new InvalidOperationException(