C# Class DigipostClientLibWebapp.Controllers.SendController

Inheritance: Controller
Mostra file Open project: digipost/digipost-client-lib-webapp-dotnet Class Usage Examples

Public Methods

Method Description
SendController ( IDigipostService digipostService ) : System.IO

Private Methods

Method Description
GetFileContent ( byte &fileContent, System.Web.HttpPostedFileBase httpPostedFileBase ) : void
GetMimeType ( string &fileType, System.Web.HttpPostedFileBase httpPostedFileBase ) : void
GetSendModelFromSession ( ) : SendModel
Index ( SendModel sendModel ) : System.Web.Mvc.ActionResult
IsFileSelected ( ) : bool
IsValidFileContent ( byte &fileContent, string &fileType ) : bool
Send ( SendModel sendModel ) : Task

Method Details

SendController() public method

public SendController ( IDigipostService digipostService ) : System.IO
digipostService IDigipostService
return System.IO