EOS/Service References/RoleServices/Reference.cs
Nidhi Bhargava f0c1ab20e1 code push
2025-09-04 16:25:07 +05:30

572 lines
28 KiB
C#

//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace GODATA.RoleServices {
using System.Runtime.Serialization;
using System;
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
[System.Runtime.Serialization.DataContractAttribute(Name="RoleModel", Namespace="http://schemas.datacontract.org/2004/07/AEServiceLibrary.Models.ManageRole")]
[System.SerializableAttribute()]
public partial class RoleModel : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
[System.NonSerializedAttribute()]
private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
[System.Runtime.Serialization.OptionalFieldAttribute()]
private System.Guid ApplicationIdField;
[System.Runtime.Serialization.OptionalFieldAttribute()]
private string LoweredRoleNameField;
[System.Runtime.Serialization.OptionalFieldAttribute()]
private string RoleDescriptionField;
[System.Runtime.Serialization.OptionalFieldAttribute()]
private System.Guid RoleIdField;
[System.Runtime.Serialization.OptionalFieldAttribute()]
private string RoleNameField;
[global::System.ComponentModel.BrowsableAttribute(false)]
public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
get {
return this.extensionDataField;
}
set {
this.extensionDataField = value;
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public System.Guid ApplicationId {
get {
return this.ApplicationIdField;
}
set {
if ((this.ApplicationIdField.Equals(value) != true)) {
this.ApplicationIdField = value;
this.RaisePropertyChanged("ApplicationId");
}
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public string LoweredRoleName {
get {
return this.LoweredRoleNameField;
}
set {
if ((object.ReferenceEquals(this.LoweredRoleNameField, value) != true)) {
this.LoweredRoleNameField = value;
this.RaisePropertyChanged("LoweredRoleName");
}
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public string RoleDescription {
get {
return this.RoleDescriptionField;
}
set {
if ((object.ReferenceEquals(this.RoleDescriptionField, value) != true)) {
this.RoleDescriptionField = value;
this.RaisePropertyChanged("RoleDescription");
}
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public System.Guid RoleId {
get {
return this.RoleIdField;
}
set {
if ((this.RoleIdField.Equals(value) != true)) {
this.RoleIdField = value;
this.RaisePropertyChanged("RoleId");
}
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public string RoleName {
get {
return this.RoleNameField;
}
set {
if ((object.ReferenceEquals(this.RoleNameField, value) != true)) {
this.RoleNameField = value;
this.RaisePropertyChanged("RoleName");
}
}
}
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
protected void RaisePropertyChanged(string propertyName) {
System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
if ((propertyChanged != null)) {
propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
}
}
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
[System.Runtime.Serialization.DataContractAttribute(Name="ApplicationRoles", Namespace="http://schemas.datacontract.org/2004/07/AEServiceLibrary.Models.ManageRole")]
[System.SerializableAttribute()]
public partial class ApplicationRoles : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
[System.NonSerializedAttribute()]
private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
[System.Runtime.Serialization.OptionalFieldAttribute()]
private GODATA.RoleServices.ApplicationModel ApplicationField;
[System.Runtime.Serialization.OptionalFieldAttribute()]
private System.Collections.Generic.List<GODATA.RoleServices.RoleModel> RolesField;
[global::System.ComponentModel.BrowsableAttribute(false)]
public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
get {
return this.extensionDataField;
}
set {
this.extensionDataField = value;
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public GODATA.RoleServices.ApplicationModel Application {
get {
return this.ApplicationField;
}
set {
if ((object.ReferenceEquals(this.ApplicationField, value) != true)) {
this.ApplicationField = value;
this.RaisePropertyChanged("Application");
}
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public System.Collections.Generic.List<GODATA.RoleServices.RoleModel> Roles {
get {
return this.RolesField;
}
set {
if ((object.ReferenceEquals(this.RolesField, value) != true)) {
this.RolesField = value;
this.RaisePropertyChanged("Roles");
}
}
}
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
protected void RaisePropertyChanged(string propertyName) {
System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
if ((propertyChanged != null)) {
propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
}
}
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
[System.Runtime.Serialization.DataContractAttribute(Name="ApplicationModel", Namespace="http://schemas.datacontract.org/2004/07/AEServiceLibrary.Models.ManageApplication" +
"")]
[System.SerializableAttribute()]
public partial class ApplicationModel : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
[System.NonSerializedAttribute()]
private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
[System.Runtime.Serialization.OptionalFieldAttribute()]
private string ApplicationDescriptionField;
[System.Runtime.Serialization.OptionalFieldAttribute()]
private System.Guid ApplicationIdField;
[System.Runtime.Serialization.OptionalFieldAttribute()]
private string ApplicationNameField;
[System.Runtime.Serialization.OptionalFieldAttribute()]
private string ApplicationTitleField;
[System.Runtime.Serialization.OptionalFieldAttribute()]
private string ApplicationUrlField;
[global::System.ComponentModel.BrowsableAttribute(false)]
public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
get {
return this.extensionDataField;
}
set {
this.extensionDataField = value;
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public string ApplicationDescription {
get {
return this.ApplicationDescriptionField;
}
set {
if ((object.ReferenceEquals(this.ApplicationDescriptionField, value) != true)) {
this.ApplicationDescriptionField = value;
this.RaisePropertyChanged("ApplicationDescription");
}
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public System.Guid ApplicationId {
get {
return this.ApplicationIdField;
}
set {
if ((this.ApplicationIdField.Equals(value) != true)) {
this.ApplicationIdField = value;
this.RaisePropertyChanged("ApplicationId");
}
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public string ApplicationName {
get {
return this.ApplicationNameField;
}
set {
if ((object.ReferenceEquals(this.ApplicationNameField, value) != true)) {
this.ApplicationNameField = value;
this.RaisePropertyChanged("ApplicationName");
}
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public string ApplicationTitle {
get {
return this.ApplicationTitleField;
}
set {
if ((object.ReferenceEquals(this.ApplicationTitleField, value) != true)) {
this.ApplicationTitleField = value;
this.RaisePropertyChanged("ApplicationTitle");
}
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public string ApplicationUrl {
get {
return this.ApplicationUrlField;
}
set {
if ((object.ReferenceEquals(this.ApplicationUrlField, value) != true)) {
this.ApplicationUrlField = value;
this.RaisePropertyChanged("ApplicationUrl");
}
}
}
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
protected void RaisePropertyChanged(string propertyName) {
System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
if ((propertyChanged != null)) {
propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
}
}
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
[System.Runtime.Serialization.DataContractAttribute(Name="ApplicationRole", Namespace="http://schemas.datacontract.org/2004/07/AEServiceLibrary.Models.ManageRole")]
[System.SerializableAttribute()]
public partial class ApplicationRole : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
[System.NonSerializedAttribute()]
private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
[System.Runtime.Serialization.OptionalFieldAttribute()]
private GODATA.RoleServices.ApplicationModel ApplicationField;
[System.Runtime.Serialization.OptionalFieldAttribute()]
private GODATA.RoleServices.RoleModel RolesField;
[global::System.ComponentModel.BrowsableAttribute(false)]
public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
get {
return this.extensionDataField;
}
set {
this.extensionDataField = value;
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public GODATA.RoleServices.ApplicationModel Application {
get {
return this.ApplicationField;
}
set {
if ((object.ReferenceEquals(this.ApplicationField, value) != true)) {
this.ApplicationField = value;
this.RaisePropertyChanged("Application");
}
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public GODATA.RoleServices.RoleModel Roles {
get {
return this.RolesField;
}
set {
if ((object.ReferenceEquals(this.RolesField, value) != true)) {
this.RolesField = value;
this.RaisePropertyChanged("Roles");
}
}
}
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
protected void RaisePropertyChanged(string propertyName) {
System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
if ((propertyChanged != null)) {
propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
}
}
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
[System.ServiceModel.ServiceContractAttribute(ConfigurationName="RoleServices.IRole")]
public interface IRole {
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IRole/GetRole", ReplyAction="http://tempuri.org/IRole/GetRoleResponse")]
System.Collections.Generic.List<GODATA.RoleServices.RoleModel> GetRole();
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IRole/GetRole", ReplyAction="http://tempuri.org/IRole/GetRoleResponse")]
System.Threading.Tasks.Task<System.Collections.Generic.List<GODATA.RoleServices.RoleModel>> GetRoleAsync();
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IRole/GetRoleById", ReplyAction="http://tempuri.org/IRole/GetRoleByIdResponse")]
GODATA.RoleServices.RoleModel GetRoleById(System.Guid roleId);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IRole/GetRoleById", ReplyAction="http://tempuri.org/IRole/GetRoleByIdResponse")]
System.Threading.Tasks.Task<GODATA.RoleServices.RoleModel> GetRoleByIdAsync(System.Guid roleId);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IRole/GetAppRoleByAppId", ReplyAction="http://tempuri.org/IRole/GetAppRoleByAppIdResponse")]
System.Collections.Generic.List<GODATA.RoleServices.RoleModel> GetAppRoleByAppId(System.Guid applicationId);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IRole/GetAppRoleByAppId", ReplyAction="http://tempuri.org/IRole/GetAppRoleByAppIdResponse")]
System.Threading.Tasks.Task<System.Collections.Generic.List<GODATA.RoleServices.RoleModel>> GetAppRoleByAppIdAsync(System.Guid applicationId);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IRole/GetUserRoleByUserId", ReplyAction="http://tempuri.org/IRole/GetUserRoleByUserIdResponse")]
System.Collections.Generic.List<GODATA.RoleServices.RoleModel> GetUserRoleByUserId(System.Guid userId);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IRole/GetUserRoleByUserId", ReplyAction="http://tempuri.org/IRole/GetUserRoleByUserIdResponse")]
System.Threading.Tasks.Task<System.Collections.Generic.List<GODATA.RoleServices.RoleModel>> GetUserRoleByUserIdAsync(System.Guid userId);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IRole/GetUserRoleByAppIdAndUserName", ReplyAction="http://tempuri.org/IRole/GetUserRoleByAppIdAndUserNameResponse")]
System.Collections.Generic.List<GODATA.RoleServices.RoleModel> GetUserRoleByAppIdAndUserName(string applicationName, string userName);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IRole/GetUserRoleByAppIdAndUserName", ReplyAction="http://tempuri.org/IRole/GetUserRoleByAppIdAndUserNameResponse")]
System.Threading.Tasks.Task<System.Collections.Generic.List<GODATA.RoleServices.RoleModel>> GetUserRoleByAppIdAndUserNameAsync(string applicationName, string userName);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IRole/GetRoleApplication", ReplyAction="http://tempuri.org/IRole/GetRoleApplicationResponse")]
System.Collections.Generic.List<GODATA.RoleServices.ApplicationRoles> GetRoleApplication();
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IRole/GetRoleApplication", ReplyAction="http://tempuri.org/IRole/GetRoleApplicationResponse")]
System.Threading.Tasks.Task<System.Collections.Generic.List<GODATA.RoleServices.ApplicationRoles>> GetRoleApplicationAsync();
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IRole/CreateRole", ReplyAction="http://tempuri.org/IRole/CreateRoleResponse")]
bool CreateRole(string applicationName, string roleName, string description);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IRole/CreateRole", ReplyAction="http://tempuri.org/IRole/CreateRoleResponse")]
System.Threading.Tasks.Task<bool> CreateRoleAsync(string applicationName, string roleName, string description);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IRole/UpdateRole", ReplyAction="http://tempuri.org/IRole/UpdateRoleResponse")]
bool UpdateRole(System.Guid applicationId, System.Guid roleId, string roleName);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IRole/UpdateRole", ReplyAction="http://tempuri.org/IRole/UpdateRoleResponse")]
System.Threading.Tasks.Task<bool> UpdateRoleAsync(System.Guid applicationId, System.Guid roleId, string roleName);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IRole/DeleteRole", ReplyAction="http://tempuri.org/IRole/DeleteRoleResponse")]
bool DeleteRole(System.Guid applicationId, System.Guid roleId);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IRole/DeleteRole", ReplyAction="http://tempuri.org/IRole/DeleteRoleResponse")]
System.Threading.Tasks.Task<bool> DeleteRoleAsync(System.Guid applicationId, System.Guid roleId);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IRole/DeleteRoleByRole", ReplyAction="http://tempuri.org/IRole/DeleteRoleByRoleResponse")]
bool DeleteRoleByRole(string roleName, string applicationName);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IRole/DeleteRoleByRole", ReplyAction="http://tempuri.org/IRole/DeleteRoleByRoleResponse")]
System.Threading.Tasks.Task<bool> DeleteRoleByRoleAsync(string roleName, string applicationName);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IRole/GetAppRoleByAppIdAndRoleId", ReplyAction="http://tempuri.org/IRole/GetAppRoleByAppIdAndRoleIdResponse")]
GODATA.RoleServices.ApplicationRole GetAppRoleByAppIdAndRoleId(System.Guid roleId, System.Guid applicationId);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IRole/GetAppRoleByAppIdAndRoleId", ReplyAction="http://tempuri.org/IRole/GetAppRoleByAppIdAndRoleIdResponse")]
System.Threading.Tasks.Task<GODATA.RoleServices.ApplicationRole> GetAppRoleByAppIdAndRoleIdAsync(System.Guid roleId, System.Guid applicationId);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IRole/GetTotalRoles", ReplyAction="http://tempuri.org/IRole/GetTotalRolesResponse")]
int GetTotalRoles();
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IRole/GetTotalRoles", ReplyAction="http://tempuri.org/IRole/GetTotalRolesResponse")]
System.Threading.Tasks.Task<int> GetTotalRolesAsync();
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IRole/IsRoleExist", ReplyAction="http://tempuri.org/IRole/IsRoleExistResponse")]
bool IsRoleExist(string applicationName, string roleName);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IRole/IsRoleExist", ReplyAction="http://tempuri.org/IRole/IsRoleExistResponse")]
System.Threading.Tasks.Task<bool> IsRoleExistAsync(string applicationName, string roleName);
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
public interface IRoleChannel : GODATA.RoleServices.IRole, System.ServiceModel.IClientChannel {
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
public partial class RoleClient : System.ServiceModel.ClientBase<GODATA.RoleServices.IRole>, GODATA.RoleServices.IRole {
public RoleClient() {
}
public RoleClient(string endpointConfigurationName) :
base(endpointConfigurationName) {
}
public RoleClient(string endpointConfigurationName, string remoteAddress) :
base(endpointConfigurationName, remoteAddress) {
}
public RoleClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) :
base(endpointConfigurationName, remoteAddress) {
}
public RoleClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
base(binding, remoteAddress) {
}
public System.Collections.Generic.List<GODATA.RoleServices.RoleModel> GetRole() {
return base.Channel.GetRole();
}
public System.Threading.Tasks.Task<System.Collections.Generic.List<GODATA.RoleServices.RoleModel>> GetRoleAsync() {
return base.Channel.GetRoleAsync();
}
public GODATA.RoleServices.RoleModel GetRoleById(System.Guid roleId) {
return base.Channel.GetRoleById(roleId);
}
public System.Threading.Tasks.Task<GODATA.RoleServices.RoleModel> GetRoleByIdAsync(System.Guid roleId) {
return base.Channel.GetRoleByIdAsync(roleId);
}
public System.Collections.Generic.List<GODATA.RoleServices.RoleModel> GetAppRoleByAppId(System.Guid applicationId) {
return base.Channel.GetAppRoleByAppId(applicationId);
}
public System.Threading.Tasks.Task<System.Collections.Generic.List<GODATA.RoleServices.RoleModel>> GetAppRoleByAppIdAsync(System.Guid applicationId) {
return base.Channel.GetAppRoleByAppIdAsync(applicationId);
}
public System.Collections.Generic.List<GODATA.RoleServices.RoleModel> GetUserRoleByUserId(System.Guid userId) {
return base.Channel.GetUserRoleByUserId(userId);
}
public System.Threading.Tasks.Task<System.Collections.Generic.List<GODATA.RoleServices.RoleModel>> GetUserRoleByUserIdAsync(System.Guid userId) {
return base.Channel.GetUserRoleByUserIdAsync(userId);
}
public System.Collections.Generic.List<GODATA.RoleServices.RoleModel> GetUserRoleByAppIdAndUserName(string applicationName, string userName) {
return base.Channel.GetUserRoleByAppIdAndUserName(applicationName, userName);
}
public System.Threading.Tasks.Task<System.Collections.Generic.List<GODATA.RoleServices.RoleModel>> GetUserRoleByAppIdAndUserNameAsync(string applicationName, string userName) {
return base.Channel.GetUserRoleByAppIdAndUserNameAsync(applicationName, userName);
}
public System.Collections.Generic.List<GODATA.RoleServices.ApplicationRoles> GetRoleApplication() {
return base.Channel.GetRoleApplication();
}
public System.Threading.Tasks.Task<System.Collections.Generic.List<GODATA.RoleServices.ApplicationRoles>> GetRoleApplicationAsync() {
return base.Channel.GetRoleApplicationAsync();
}
public bool CreateRole(string applicationName, string roleName, string description) {
return base.Channel.CreateRole(applicationName, roleName, description);
}
public System.Threading.Tasks.Task<bool> CreateRoleAsync(string applicationName, string roleName, string description) {
return base.Channel.CreateRoleAsync(applicationName, roleName, description);
}
public bool UpdateRole(System.Guid applicationId, System.Guid roleId, string roleName) {
return base.Channel.UpdateRole(applicationId, roleId, roleName);
}
public System.Threading.Tasks.Task<bool> UpdateRoleAsync(System.Guid applicationId, System.Guid roleId, string roleName) {
return base.Channel.UpdateRoleAsync(applicationId, roleId, roleName);
}
public bool DeleteRole(System.Guid applicationId, System.Guid roleId) {
return base.Channel.DeleteRole(applicationId, roleId);
}
public System.Threading.Tasks.Task<bool> DeleteRoleAsync(System.Guid applicationId, System.Guid roleId) {
return base.Channel.DeleteRoleAsync(applicationId, roleId);
}
public bool DeleteRoleByRole(string roleName, string applicationName) {
return base.Channel.DeleteRoleByRole(roleName, applicationName);
}
public System.Threading.Tasks.Task<bool> DeleteRoleByRoleAsync(string roleName, string applicationName) {
return base.Channel.DeleteRoleByRoleAsync(roleName, applicationName);
}
public GODATA.RoleServices.ApplicationRole GetAppRoleByAppIdAndRoleId(System.Guid roleId, System.Guid applicationId) {
return base.Channel.GetAppRoleByAppIdAndRoleId(roleId, applicationId);
}
public System.Threading.Tasks.Task<GODATA.RoleServices.ApplicationRole> GetAppRoleByAppIdAndRoleIdAsync(System.Guid roleId, System.Guid applicationId) {
return base.Channel.GetAppRoleByAppIdAndRoleIdAsync(roleId, applicationId);
}
public int GetTotalRoles() {
return base.Channel.GetTotalRoles();
}
public System.Threading.Tasks.Task<int> GetTotalRolesAsync() {
return base.Channel.GetTotalRolesAsync();
}
public bool IsRoleExist(string applicationName, string roleName) {
return base.Channel.IsRoleExist(applicationName, roleName);
}
public System.Threading.Tasks.Task<bool> IsRoleExistAsync(string applicationName, string roleName) {
return base.Channel.IsRoleExistAsync(applicationName, roleName);
}
}
}