Skip to content

Instantly share code, notes, and snippets.

@icebeam7
Last active October 22, 2018 23:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save icebeam7/c5501df555afad64a9e74f952d204b3d to your computer and use it in GitHub Desktop.
Save icebeam7/c5501df555afad64a9e74f952d204b3d to your computer and use it in GitHub Desktop.
MyStore.Models: EmployeeDTO.cs
using System;
using System.Collections.Generic;
namespace MyStore.Models
{
public class EmployeeDTO
{
public int Id { get; set; }
public string FirstName { get; set; }
public string LastName { get; set; }
public string UserName { get; set; }
public string Password { get; set; }
public string FullName => $"{LastName} {FirstName}";
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment