public ActionResult ModifyClients(Client client)
        {
            var logo    = Request.Files["logo"];
            var profile = Request.Files["profile"];

            if (client.Id == 0)
            {
                client.CreateUserId = IdentityService.GetUserIdFromClaim(User);
                var clientId = _adminService.CreateClient(client, logo, profile);
                if (clientId != null)
                {
                    IdentityService.AddClientClaim(User, clientId.Value);
                }
            }
            else
            {
                client.UpdateUserId = IdentityService.GetUserIdFromClaim(User);
                _adminService.UpdateClient(client, logo, profile);
                return(RedirectToAction("Details", new { id = client.Id }));
            }
            return(RedirectToAction("Index"));
        }