mirror of
https://github.com/ivanch/tcc.git
synced 2025-07-09 06:59:19 +00:00
15 lines
293 B
C#
15 lines
293 B
C#
namespace TCC.Services
|
|
{
|
|
public class ImageService
|
|
{
|
|
public ImageService() { }
|
|
|
|
public void SaveImage(Stream fileStream)
|
|
{
|
|
var file = File.Create("image.png");
|
|
fileStream.CopyToAsync(file);
|
|
file.Close();
|
|
}
|
|
}
|
|
}
|