mirror of
https://github.com/LD-Reborn/Berufsschule_HAM.git
synced 2025-12-20 06:51:55 +00:00
Fixed images in Users view
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using System.Text.RegularExpressions;
|
||||
using System.Text;
|
||||
|
||||
namespace Berufsschule_HAM.Helpers;
|
||||
|
||||
@@ -16,4 +17,9 @@ public static class StringHelpers
|
||||
input = input.Trim('-');
|
||||
return input;
|
||||
}
|
||||
|
||||
public static string ToBase64String(string input)
|
||||
{
|
||||
return Convert.ToBase64String(Encoding.UTF8.GetBytes(input));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user