Exemple #1
0
        public ActionResult <List <OfficeResponse> > FindAllFundsByClientIdAndBranchId(int clientId, int branchId)
        {
            if (_customerRepository.FindCustomerById(clientId) == null)
            {
                return(BadRequest());
            }

            return(Ok(_officeRepository.FindAllFundsByClientIdAndBranchId(clientId, branchId)));
        }