public void editUnit(UnitsModel model, Guid ticket)
        {
            DataCommandService.IDataCommandService dataCommandService = new DataCommandService.DataCommandServiceClient();

            DataCommandService.UnitInfo unit = new DataCommandService.UnitInfo();

            unit.Id          = model.Id;
            unit.Name        = model.Name;
            unit.Description = model.Description;

            try
            {
                dataCommandService.EditUnits(unit, ticket);
            }
            catch (Exception ex)
            { }
        }
        public void addUnit(UnitsModel model, Guid ticket)
        {
            DataCommandService.IDataCommandService dataCommandService = new DataCommandService.DataCommandServiceClient();

            DataCommandService.AddUnitRequest unit = new DataCommandService.AddUnitRequest();

            unit.Name        = model.Name;
            unit.Description = model.Description;
            unit.Ticket      = ticket;

            try
            {
                dataCommandService.AddUnit(unit);
            }
            catch (Exception ex)
            { }
        }