public async Task <IActionResult> CreateAccountSubHead(AccountSubHeadViewModel model) { var result = await _setupRepository.CreateAccountSubHeadAsync(model); if (result == "Successful") { return(Ok()); } return(BadRequest()); }