protected void Page_Load(object sender, EventArgs e)
        {
            var clients      = ClientRepository.GetAllClientFromDb();
            var allClientDto = ClientDtoMaper.MapAllClientsToDto(clients);
            var js           = new JavaScriptSerializer();

            hdnAllClients.Value = string.Empty;
            hdnAllClients.Value = js.Serialize(allClientDto);
            if (!IsPostBack)
            {
                RefreshDdlClient(allClientDto);
            }
        }
        protected void ddlClient_SelectedIndexChanged(object sender, EventArgs e)
        {
            hdnClient.Value = string.Empty;
            var clientId = Convert.ToInt16(ddlClient.SelectedValue);

            if (clientId < 1)
            {
                return;
            }
            var client    = ClientRepository.GetClientById(clientId);
            var clientDto = ClientDtoMaper.MapClientToDto(client);
            var js        = new JavaScriptSerializer();

            hdnClient.Value = js.Serialize(clientDto);
        }