/// <summary> /// Inserts the specified value. /// </summary> /// <param name="value">The value.</param> public void Insert(NuocSanXuatModel value) { try { var entity = value.ToEntity(); currentService.Insert(entity); } catch (Exception ex) { MessageBox.Show(ex.Message, Resources.Insert_Fault, MessageBoxButtons.OK, MessageBoxIcon.Error); } }