Code formatiert

This commit is contained in:
Lennart Kampshoff
2019-12-21 14:03:06 +01:00
parent c5f72c2ce5
commit ed95acc24d
56 changed files with 1771 additions and 1764 deletions

View File

@@ -34,7 +34,7 @@ namespace ReallifeGamemode.DataService.Controllers
string token = tokenGenerator.GenerateUserToken(user);
if(string.IsNullOrEmpty(token))
if (string.IsNullOrEmpty(token))
{
return Unauthorized();
}

View File

@@ -30,7 +30,7 @@ namespace ReallifeGamemode.DataService.Controllers
List<string> locations = new List<string>();
foreach(var location in list)
foreach (var location in list)
{
string description = location.Description;
description = Regex.Replace(description, @"<[^>]*(>|$)", string.Empty);

View File

@@ -33,7 +33,7 @@ namespace ReallifeGamemode.DataService.Controllers
{
User user = dbContext.Users.Where(u => u.Id == UserId).FirstOrDefault();
if(user == null)
if (user == null)
{
return NotFound();
}