mirror of
https://gitlab.com/Hukuta47/cartrix.git
synced 2026-12-05 12:30:55 +00:00
Сделал привязку местоположений и принтеров к местоположениям
This commit is contained in:
1 parent
d69a5689e8
commit
13b3513d2d
49 files changed
+705
-1323
No files matched your search
@@ -0,0 +1,17 @@
|
||||
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
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user