mirror of
https://gitlab.com/Hukuta47/cartrix.git
synced 2026-12-05 04:20:55 +00:00
17 lines
387 B
C#
17 lines
387 B
C#
using CartriX.Shared.Models;
|
|
using CartriX.Shared.DTOs.Printer;
|
|
|
|
namespace CartriX.Shared.Mappers
|
|
{
|
|
public static class PrinterMap
|
|
{
|
|
public static PrinterNoLocation NoLocation(this Printer printer)
|
|
{
|
|
return new PrinterNoLocation
|
|
{
|
|
Id = printer.Id,
|
|
Name = printer.PrinterName
|
|
};
|
|
}
|
|
}
|
|
} |