public async Task <ResultObject> SetUserBranchesAsync([FromBody] UserBranchesDto userBranchesDto)
 {
     if (userBranchesDto.ID == 0)
     {
         return(await userAppService.CreateUserBranchesAsync(userBranchesDto));
     }
     else
     {
         return(await userAppService.UpdateUserBranchesAsync(userBranchesDto));
     }
 }