[CreateController]

By default an API and View controller are both created. This allows for suppressing the creation of either or both of these.

Example Usage

[CreateController(view: false, api: true)]
public class Person
{
    public int PersonId { get; set; }

    ...
}

Properties

public bool WillCreateView { get; set; } 1

public bool WillCreateApi { get; set; } 2