public AppController() { Form = new AppForm(); CanDelete = true; TitlePlural = "Apps"; SearchForms.Add(new AppSearchForm(Url)); }
public ParadoxTableController() { CanCreate = false; Form = new ParadoxTableForm(); TitlePlural = "Paradox Table"; SearchForms.Add(new ParadoxTableSearchForm(Url)); }
public PrintLogController() { CanCreate = false; CanDelete = true; TitlePlural = "Print"; Form = new PrintLogForm(); SearchForms.Add(new PrintLogSearchForm(Url)); }
public ReportUserActivityLogController() { CanDelete = false; CanCreate = false; ForeignKey = "ReportId"; TitlePlural = "Reports"; SearchForms.Add(new ReportUserActivityLogSearchForm(Url)); }
public FileController() { CanCreate = false; CanDelete = true; Form = new FileForm(); TitlePlural = "Files"; SearchForms.Add(new FileSearchForm(Url)); }
public PrinterController() { //CanCreate = false; //CanDelete = true; //ForeignKey = ""; Form = new PrinterForm(); TitlePlural = "Printers"; SearchForms.Add(new PrinterSearchForm(Url)); }
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 AppFieldController() { DB = new AppFieldModelContext <AppFieldModel>(); ForeignKey = "AppId"; Form = new AppFieldForm(); CanDelete = true; ReturnTo = new ReturnTo(new AppController(), "Edit", "AppId", "Name", new string[] { "Create", "Edit", "Delete" }); TitlePlural = "App Fields"; SearchForms.Add(new AppFieldSearchForm(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)); }
//private AppModelContext db = new AppModelContext(); public MenuController() { Form = new MenuForm(); CanDelete = true; TitlePlural = "Menus"; ForeignKey = "ParentId"; ReturnTo = new ReturnTo(this, "Edit", "ParentId", "Label", new string[] { "Delete" }); SearchForms.Add(new MenuSearchForm(Url)); }
public RoleController() { Form = new RoleForm(); SearchForms.Add(new RoleSearchForm(Url)); TitlePlural = "Roles"; }
public ReportController() { Form = new ReportForm(); TitlePlural = "Reports"; SearchForms.Add(new ReportSearchForm(Url)); }
public AuditController() { TitlePlural = "Audits"; SearchForms.Add(new AuditSearchForm(Url)); }
public FieldOptionController() { Form = new FieldOptionForm(); TitlePlural = "Field Options"; SearchForms.Add(new FieldOptionSearchForm(Url)); }