public dynamic Update_Role_Admin([FromBody] Newtonsoft.Json.Linq.JObject param)
        {
            dynamic result = null;

            try
            {
                dynamic dd            = param;
                int     role_admin_id = dd.role_admin_id;
                int     admin_id      = dd.admin_id;
                int     role_id       = dd.role_id;


                dynamic        main = _repositoryWrapper.Role_Admin_Repository.GetRoleAdminById(role_admin_id);
                tbl_role_admin rm   = main as tbl_role_admin;

                rm.role_admin_id = role_admin_id;
                rm.admin_id      = admin_id;
                rm.role_id       = role_id;

                _repositoryWrapper.Role_Admin_Repository.Update(rm);
                result = new { Status = 1, Message = "Update Successfully", data = new { } };
            }
            catch (Exception ex)
            {
                result = new { Status = 0, Message = "Update Fail", data = new { } };
                Console.WriteLine(ex.Message);
            }

            return(result);
        }
        public dynamic Save_Role_Admin([FromBody] Newtonsoft.Json.Linq.JObject param)
        {
            dynamic result = null;

            try
            {
                dynamic dd            = param;
                int     role_admin_id = dd.role_admin_id;
                int     admin_id      = dd.admin_id;
                int     role_id       = dd.role_id;

                tbl_role_admin c = new tbl_role_admin();

                c.role_admin_id = role_admin_id;
                c.admin_id      = admin_id;
                c.role_id       = role_id;

                _repositoryWrapper.Role_Admin_Repository.Create(c);
                result = new { Status = 1, Message = "Save Successfully", data = new { } };
            }
            catch (Exception ex)
            {
                result = new { Status = 0, Message = "Save Fail", data = new { } };
                Console.WriteLine(ex.Message);
            }

            return(result);
        }