ContentController.InsertFile Method

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

InsertFile(int?, int?, string, string)

Insert a new file.

public ActionResult InsertFile(int? appid, int? parentid, string name, string ext)

Parameters

appid
int?

Id of the app.

parentid
int?

Id of parent content.

name
string

The name of the file (without file extension).

ext
string

The extension of the file, e.g. .docx

Returns

System.Web.Mvc.ActionResult