Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Example Data Model/DTO in ASP.NET MVC
namespace Mvc.Examples
{
public class CreateRecordRequest
{
[JsonProperty("employee_id")]
[Required, DisplayName("employee_id")]
public string EmployeeId { get; set; }
[JsonProperty("source_id")]
[Required, DisplayName("source_id")]
public string SourceId { get; set; }
[JsonProperty("folder_name")]
[Required, DisplayName("folder_name")]
public string FolderName { get; set; }
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.