17 lines
352 B
C#
17 lines
352 B
C#
|
using DAL.Models;
|
||
|
|
||
|
namespace API.DTO.Base.Update
|
||
|
{
|
||
|
public class SignupUpdateDTO : IUpdateAdaptable<Signup>
|
||
|
{
|
||
|
public ulong? eventId { get; set; }
|
||
|
public ulong? userId { get; set; }
|
||
|
|
||
|
public void adaptModel(ref Signup model)
|
||
|
{
|
||
|
if (eventId != null) model.eventId = (ulong)eventId;
|
||
|
if (userId != null) model.userId = (ulong)userId;
|
||
|
}
|
||
|
}
|
||
|
}
|