private void buttonR_Click(object sender, EventArgs e)
 {
     if (m_cgroup != null)
     {
         using (var _fm = new DesignationMaker())
         {
             _fm.Tag = new int[] { em.role_gp_typeS.church_group.ToByte(), m_cgroup.cg_id };
             _fm.ShowDialog();
         }
         UpdateRoles(m_cgroup);
     }
 }
 private void buttonR_Click(object sender, EventArgs e)
 {
     if (m_dept != null)
     {
         using (var _fm = new DesignationMaker())
         {
             _fm.Tag = new int[] { em.role_gp_typeS.department.ToByte(), m_dept.dept_id };
             _fm.ShowDialog();
         }
         UpdateRoles(m_dept);
     }
 }
 public DesignationServiceImpl(DesignationRepository DesignationRepository, DesignationMaker DesignationMaker, IHostingEnvironment hostingEnvironment)
 {
     _DesignationMaker      = DesignationMaker;
     _DesignationRepository = DesignationRepository;
     _hostingEnvironment    = hostingEnvironment;
 }