AppController Class

Namespace:
Weavy.Web.Controllers
Assembly:
Weavy.Web.dll

Controller for App objects.

public class AppController : WeavyController
Inheritance:
System.Object → WeavyControllerAppController

Constructors

AppController()

Methods

Add(Int32) Display page for adding app to a space.
Delete(Int32) Permanently delete app.
Edit(Int32) Edit specified app.
EditName(Int32) Get html for rename app modal.
Get(Int32, Query) Display start page of the specified app.
Index(Int32) Display the list of installed apps in the space.
Insert(Int32, Guid) Insert app into the specified space.
New(Int32, Guid) Display form for adding a new app to a space.
Rename(Int32, RenameModel) Rename specified app.
Restore(Int32) Restore the specified app.
Sort(Int32, Int32[]) Sorts apps in the specified space.
Trash(Int32) Trash the specified app.
Update(Int32) Update specified app.

Extension Methods

IsNullOrDefault(T) Gets a value indicating if the specified value has the default value of the generic type.
Serialize(Object) Serializes an object, or graph of connected objects, to a byte array.
SerializeToJson(Object, Nullable, JsonSerializerSettings) Serializes an object, or graph of connected objects, to a json string.
IsValid(Object) Determines whether the specified object is valid by evaluating each ValidationAttribute instance that is attached to the object type.