public void Add(ClientW clientW)
        {
            clientW.Id = Guid.NewGuid();
            db.Clients.Add(clientW.ToBase());

            db.SaveChanges();
        }
        public bool IsExisting(ClientW client)
        {
            var foundedClient = db.Clients.FirstOrDefault(x => x.Name.ToLower() == client.Name.ToLower() && x.Id != client.Id);
            if (foundedClient != null)
                return true;

            return false;
        }
        public void Edit(ClientW clientW)
        {
            var client = db.Clients.Single(c => c.Id == clientW.Id);
            client.Name = clientW.Name;
            client.Mobile = clientW.Mobile;

            db.SaveChanges();
        }