C# Class ActivityLog.Controllers.ActivitiesController

Inheritance: Controller
Show file Open project: marcusoftnet/ProgressiveNetDemos

Public Methods

Method Description
ActivitiesController ( IPersonRepository personRepository, ICustomerRepository customerRepository, IActivityRepository activityRepository, IPrincipal authentication ) : System.Linq
Create ( ) : System.Web.Mvc.ActionResult
Delete ( int id ) : System.Web.Mvc.ActionResult
Details ( int id ) : System.Web.Mvc.ViewResult
Edit ( int id ) : System.Web.Mvc.ActionResult
Index ( ) : System.Web.Mvc.ViewResult

Private Methods

Method Description
Create ( Activity activity ) : System.Web.Mvc.ActionResult
DeleteConfirmed ( int id ) : System.Web.Mvc.ActionResult
Edit ( Activity activity ) : System.Web.Mvc.ActionResult
OnlyUserName ( ) : string

Method Details

ActivitiesController() public method

public ActivitiesController ( IPersonRepository personRepository, ICustomerRepository customerRepository, IActivityRepository activityRepository, IPrincipal authentication ) : System.Linq
personRepository IPersonRepository
customerRepository ICustomerRepository
activityRepository IActivityRepository
authentication IPrincipal
return System.Linq

Create() public method

public Create ( ) : System.Web.Mvc.ActionResult
return System.Web.Mvc.ActionResult

Delete() public method

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

Details() public method

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.ActionResult
id int
return System.Web.Mvc.ActionResult

Index() public method

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