public User_Role_ModuleService(IUser_Role_ModuleEntity entity, IModuleEntity _module) { this.entity = entity; this.module = _module; }
/// <summary> /// Gets the description of the given entity with it's module description as prefix. /// </summary> public static string GlobalDescription(this IModuleEntity entity) { var prefix = (entity.Module != null) ? entity.Module.ToString() : "?"; return(prefix + "." + entity); }
public ModuleService(IModuleEntity entity) { this.entity = entity; }