public FieldOptionModelFieldController() { CanDelete = true; ForeignKey = "FieldOptionId"; Form = new FieldOptionModelFieldForm(); ReturnTo = new ReturnTo(new FieldOptionController(), "Edit", "FieldOptionId", "Name", new string[] { "Create", "Edit", "Delete" }); }
public ReportRoleController() { CanDelete = true; ForeignKey = "ReportId"; Form = new ReportRoleForm(); ReturnTo = new ReturnTo(new ReportController(), "Edit", "ReportId", "Name", new string[] { "Create", "Edit", "Delete" }); TitlePlural = "Reports"; }
public FieldOptionValueController() { DB = new FieldOptionModelContext <FieldOptionValueModel>(); CanDelete = true; ForeignKey = "FieldOptionId"; Form = new FieldOptionValueForm(); ReturnTo = new ReturnTo(new FieldOptionController(), "Edit", "FieldOptionId", "Name", new string[] { "Create", "Edit", "Delete" }); }
public ContactController() { CanCreate = true; //CanDelete = true; //ForeignKey = ""; Form = new ContactForm(); ReturnTo = new ReturnTo(this, "Index", null, null, new string[] { "Create", "Edit" }); TitlePlural = "Contacts"; SearchForms.Add(new ContactSearchForm(Url)); }
public CalendarController() { //CanCreate = false; //CanDelete = true; //ForeignKey = ""; Form = new CalendarForm(); ReturnTo = new ReturnTo(this, "Index", null, "Name", new string[] { "Create", "Edit" }); TitlePlural = "Calendar"; SearchForms.Add(new CalendarSearchForm(Url)); }
public ReportUserController() { CanDelete = true; CanCreate = false; ForeignKey = "ReportId"; Form = new ReportUserForm(); ReturnTo = new ReturnTo(new ReportController(), "Edit", "ReportId", "Name", new string[] { "Create", "Edit", "Delete" }); TitlePlural = "Reports"; SearchForms.Add(new ReportUserSearchForm(Url)); }
public FileDirectoryController() { //CanCreate = false; //CanDelete = true; //ForeignKey = ""; Form = new FileDirectoryForm(); ReturnTo = new ReturnTo(this, "Index", null, "Name", new string[] { "Create", "Edit" }); TitlePlural = "File Directory"; SearchForms.Add(new FileDirectorySearchForm(Url)); }