private async Task <bool> CreateEmployee(JoinEmployeeModel model)
        {
            if (await _joinService.canJoin((JoinModel)model) == false)
            {
                return(false);
            }

            return(await _joinService.JoinEmployee(model));
        }
        public async Task <IActionResult> Join(JoinModel model)
        {
            if (await _joinService.canJoin(model))
            {
                await _joinService.JoinClient(model);

                return(RedirectToAction(nameof(Index)));
            }
            else
            {
                ViewData["canJoin"] = false;
                return(View());
            }
        }