C# Class BinaryStudio.ClientManager.WebUi.Controllers.InquiriesController

Inheritance: Controller
Mostra file Open project: titarenko/ClientManager Class Usage Examples

Public Methods

Method Description
Admin ( ) : System.Web.Mvc.ViewResult
All ( ) : System.Web.Mvc.ViewResult

shows all inquiries

Details ( int id ) : System.Web.Mvc.ViewResult

GET: /Inquiries/5

Edit ( int id ) : System.Web.Mvc.ViewResult
Index ( ) : System.Web.Mvc.ViewResult

GET: /Inquiries/

InquiriesController ( IRepository repository ) : System
MailMessage ( int id ) : System.Web.Mvc.ActionResult
Month ( ) : System.Web.Mvc.ViewResult
Week ( ) : System.Web.Mvc.ViewResult

Private Methods

Method Description
AddComment ( int inquiryId, string text ) : System.Web.Mvc.JsonResult
AddTag ( int inquiryId, int tagId ) : void
AssignTo ( int inquiryId, int employeeId ) : void
Edit ( int id, Inquiry inquiry ) : System.Web.Mvc.ViewResult
MoveTo ( int inquiryId, DateTime date ) : void
ToArchive ( int id ) : void

Method Details

Admin() public method

public Admin ( ) : System.Web.Mvc.ViewResult
return System.Web.Mvc.ViewResult

All() public method

shows all inquiries
public All ( ) : System.Web.Mvc.ViewResult
return System.Web.Mvc.ViewResult

Details() public method

GET: /Inquiries/5
public Details ( int id ) : System.Web.Mvc.ViewResult
id int
return System.Web.Mvc.ViewResult

Edit() public method

public Edit ( int id ) : System.Web.Mvc.ViewResult
id int
return System.Web.Mvc.ViewResult

Index() public method

GET: /Inquiries/
public Index ( ) : System.Web.Mvc.ViewResult
return System.Web.Mvc.ViewResult

InquiriesController() public method

public InquiriesController ( IRepository repository ) : System
repository IRepository
return System

MailMessage() public method

public MailMessage ( int id ) : System.Web.Mvc.ActionResult
id int
return System.Web.Mvc.ActionResult

Month() public method

public Month ( ) : System.Web.Mvc.ViewResult
return System.Web.Mvc.ViewResult

Week() public method

public Week ( ) : System.Web.Mvc.ViewResult
return System.Web.Mvc.ViewResult