public object GetAccountTypes([FromUri] int?accountCategoryId = null) { return(controller.GetAccountTypes(accountCategoryId)); }
public ActionResult <List <AccountType> > Get() { var accountTypes = _accountTypeService.GetAccountTypes(); return(Ok(accountTypes)); }