mirror of
https://gitlab.com/Hukuta47/cartrix.git
synced 2026-12-06 04:50:55 +00:00
17 lines
353 B
C#
17 lines
353 B
C#
using CartriX.Shared.DTOs.PrinterModel;
|
|
using CartriX.Shared.Models;
|
|
|
|
namespace CartriX.Shared.Mappers
|
|
{
|
|
public static class PrinterModelMap
|
|
{
|
|
public static PrinterModelDto ToDto(this PrinterModel printerModel)
|
|
{
|
|
return new()
|
|
{
|
|
name = printerModel.name
|
|
};
|
|
}
|
|
}
|
|
}
|