async  void  editCompany()
        {

            try
            {
                GenaricRepository<Company> _genaricrepositorycompanynew = new GenaricRepository<Company>(new ItrackContext());
                await _genaricrepositorycompanynew.EditAsync(AssignCompany());
            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.Message, "Error - C-0011", MessageBoxButtons.OK, MessageBoxIcon.Error);
            }
        }
        async void editStyle()
        {


            try
            {
                splashScreenManager1.ShowWaitForm();
                GenaricRepository<Style> _genaricrepositoryStylenew = new GenaricRepository<Style>(new ItrackContext());
                await _genaricrepositoryStylenew.EditAsync(AssignStyle());
                splashScreenManager1.CloseWaitForm();
            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.Message, "Error - C-0004", MessageBoxButtons.OK, MessageBoxIcon.Error);
            }
        }