﻿using ServiceStack.ServiceHost;

namespace License.Manager.Core.Model
{
    [Route("/customers", "POST")]
    [Route("/customers/{Id}", "PUT, DELETE")]
    [Route("/customers/{Id}", "GET, OPTIONS")]
    public class Customer : EntityBase
    {
        public string Name { get; set; }
        public string Company { get; set; }
        public string Email { get; set; }
    }
}
﻿using ServiceStack.ServiceHost;

namespace License.Manager.Core.Model
{
    [Route("/customers", "POST")]
    [Route("/customers/{Id}", "PUT, DELETE")]
    [Route("/customers/{Id}", "GET, OPTIONS")]
    public class Customer : EntityBase, IReturn<Customer>
    {
        public string Name { get; set; }
        public string Company { get; set; }
        public string Email { get; set; }
    }
}
Add response DTO marker interface for service documentation
Add response DTO marker interface for service documentation
