C# Class OfficeAddInServerAuth.Controllers.MessageController

Inheritance: Controller
Exibir arquivo Open project: dougperkes/Office-Add-in-AspNetMvc-ServerAuth

Public Methods

Method Description
DropBox ( ) : Task
EnsureUser ( UserInfo &userInfo ) : void
Facebook ( SendMessageResponse sendMessageResponse, UserInfo userInfo ) : System.Web.Mvc.ActionResult
FacebookSendMessageSubmit ( UserInfo userInfo ) : Task
Index ( SendMessageResponse sendMessageResponse, UserInfo userInfo ) : System.Web.Mvc.ActionResult
SendMessageSubmit ( UserInfo userInfo ) : Task

Private Methods

Method Description
CreateEmailObject ( UserInfo to, string subject, string body ) : SendMessageRequest
GenerateEmail ( UserInfo to ) : SendMessageRequest

Method Details

DropBox() public method

public DropBox ( ) : Task
return Task

EnsureUser() public method

public EnsureUser ( UserInfo &userInfo ) : void
userInfo OfficeAddInServerAuth.Models.UserInfo
return void

Facebook() public method

public Facebook ( SendMessageResponse sendMessageResponse, UserInfo userInfo ) : System.Web.Mvc.ActionResult
sendMessageResponse OfficeAddInServerAuth.Models.SendMessageResponse
userInfo OfficeAddInServerAuth.Models.UserInfo
return System.Web.Mvc.ActionResult

FacebookSendMessageSubmit() public method

public FacebookSendMessageSubmit ( UserInfo userInfo ) : Task
userInfo OfficeAddInServerAuth.Models.UserInfo
return Task

Index() public method

public Index ( SendMessageResponse sendMessageResponse, UserInfo userInfo ) : System.Web.Mvc.ActionResult
sendMessageResponse OfficeAddInServerAuth.Models.SendMessageResponse
userInfo OfficeAddInServerAuth.Models.UserInfo
return System.Web.Mvc.ActionResult

SendMessageSubmit() public method

public SendMessageSubmit ( UserInfo userInfo ) : Task
userInfo OfficeAddInServerAuth.Models.UserInfo
return Task