94245a0a44
- sostituito cal precedente - fix comportamento di base - ok navigazione di base
27 lines
661 B
C#
27 lines
661 B
C#
using BlazorCalendar.Models;
|
|
|
|
using GPW.CORE.Data.DTO;
|
|
|
|
namespace GPW.CORE.WRKLOG.Data
|
|
{
|
|
public class Converter
|
|
{
|
|
public static Tasks ToBlazorCalTask(EventDTO ev)
|
|
{
|
|
Tasks newRec = new Tasks()
|
|
{
|
|
DateStart = ev.DtStart,
|
|
DateEnd = ev.DtEnd,
|
|
Caption = ev.Descrizione,
|
|
Comment = ev.Titolo,
|
|
Code = ev.CodTipo,
|
|
NotBeDraggable = !ev.IsDraggable,
|
|
Type = ev.IdxDipendente,
|
|
Color = ev.Color,
|
|
ForeColor = ev.ForeColor
|
|
};
|
|
return newRec;
|
|
}
|
|
}
|
|
}
|