using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Tango.BL.DTO { public class UserDTO : UserDTOBase { public AddressDTO Address { get; set; } public ContactDTO Contact { get; set; } public List UsersRoles { get; set; } public UserDTO() { UsersRoles = new List(); } protected override bool OnShouldActionLogIgnore(string propName) { return propName == nameof(UserDTO.LastLogin); } protected override string OnGetActionLogName() { return $"User '{Email}'"; } } }