C# Class Purchasing.Mvc.Controllers.AccountsController

Inheritance: ApplicationController
Show file Open project: ucdavis/Purchasing

Public Methods

Method Description
AccountsController ( Guid>.IRepositoryWithTypedId subAccountRepository, ISearchService searchService ) : System
SearchKfsAccounts ( string searchTerm ) : JsonNetResult

Ajax call to search for any kfs account, match by id or name

SearchSubAccounts ( string accountNumber ) : JsonNetResult

Ajax call to search for a kfs sub account for a given account

Method Details

AccountsController() public method

public AccountsController ( Guid>.IRepositoryWithTypedId subAccountRepository, ISearchService searchService ) : System
subAccountRepository Guid>.IRepositoryWithTypedId
searchService ISearchService
return System

SearchKfsAccounts() public method

Ajax call to search for any kfs account, match by id or name
public SearchKfsAccounts ( string searchTerm ) : JsonNetResult
searchTerm string
return JsonNetResult

SearchSubAccounts() public method

Ajax call to search for a kfs sub account for a given account
public SearchSubAccounts ( string accountNumber ) : JsonNetResult
accountNumber string
return JsonNetResult