diff --git a/WebDoorCreator.API/Utils.cs b/WebDoorCreator.API/Utils.cs deleted file mode 100644 index d2fc45f..0000000 --- a/WebDoorCreator.API/Utils.cs +++ /dev/null @@ -1,21 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using static System.Net.Mime.MediaTypeNames; - -namespace WebDoorCreator.Core -{ - public class Utils - { - public static byte[] ImageToByte2(Image img) - { - using (var stream = new MemoryStream()) - { - img.Save(stream, System.Drawing.Imaging.ImageFormat.Png); - return stream.ToArray(); - } - } - } -}